Difference between revisions of "Dialog basics"

From Scriptwiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 
Basic dialog commands and switches
 
Basic dialog commands and switches
  
/dialog -mdtsonkcvie name [table] [x y w h] [text]
+
/dialog -mdtsonkcvie name [table] [x y w h] [text] <br>
 
 
 
Where name is the name by which you'll refer to the dialog, and table is the dialog table name used to create dialog
 
Where name is the name by which you'll refer to the dialog, and table is the dialog table name used to create dialog
  

Revision as of 10:57, 24 August 2006

Basic dialog commands and switches

/dialog -mdtsonkcvie name [table] [x y w h] [text]
Where name is the name by which you'll refer to the dialog, and table is the dialog table name used to create dialog

 -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