Difference between revisions of "Dialog basics"

From Scriptwiki
Jump to: navigation, search
m
 
m
Line 1: Line 1:
 +
Basic dialog commands and switches
 
/dialog -mdtsonkcvie name [table] [x y w h] [text]
 
/dialog -mdtsonkcvie name [table] [x y w h] [text]
 
 
   -m create a modeless dialog using 'table' /dialog -m name table
 
   -m create a modeless dialog using 'table' /dialog -m name table
 
   -a used with -m, uses currently  active window as the parent
 
   -a used with -m, uses currently  active window as the parent

Revision as of 11:53, 24 August 2006

Basic dialog commands and switches /dialog -mdtsonkcvie name [table] [x y w h] [text]

 -m	create a modeless dialog using 'table' /dialog -m name table
 -a	used with -m, uses currently  active window as the parent
 -x	close a dialog without triggering any events
 -d	open dialog on the desktop, used with -m
 -h	make dialog work with active server connection
 -t	set dialog title /dialog -t name text
 -s	set dialog size/pos /dialog -s name x y w h
 -r	centers dialog
 -bp	interprets size as dbu or pixels
 -o	set dialog ontop of all windows
 -n	unset ontop setting
 -k	click ok button
 -c	click cancel button
 -v	makes the dialog the active window
 -ie	minimize/restore the dialog if created on the desktop