Project

General

Profile

Dialog Items » History » Revision 2

Revision 1 (Per Amundsen, 02/01/2017 01:39 AM) → Revision 2/40 (Per Amundsen, 02/01/2017 01:41 AM)

h1. Dialog Items 

 *title <tezt>* 

 Sets the titlebar text of the dialog. 

 *size <x y w h>* 

 Sets the x/y position and the width/height of the dialog. 

 *option [pixels | dbu | notheme | disable]* 

 pixels - The dialog and All dialog items sizes are defined in pixels. 
 dbu - The dialog and All dialog items sizes are defined in Dialog Base Units. 
 notheme - Sets the dialog border style to fixed single and disables windows theme styling. 
 disable - Disables all controls for a second when the dialog is shown. 

 *tab <text, id, [x y w h]>* 

 Adds a tabcontrol to the dialog with the specified id at position x/y and the w/h width/height. 

 *tab <text, id* 

 Adds a new tab to the tabcontrol with the specified id. 

 *combo <id, x y w h, [sort, style (sort, edit, drop, size, vsbar, hsbar, result, disable, tab id, aleft, aright, atop, abottom]* abottom)* 

 Adds a combobox to the dialog with the specified id at position x/y and the w/h width/height. 

 sort - Enables sorting. 
 edit - Shows the editbox. 
 drop - Show as a dropdown list. 
 size - Sets the height of the dropdown area. 
 vsbar - Enables the vertical scrollbar. 
 hsbar - Enables the horizontal scrollbar. 
 result -Indicates the selected dropdown item/text should be return the dialog "OK/Accept button" is pressed. 
 disable - Disables the combobox. 
 tabid/tab id - Indicates the combobox should be shown on the tab with the specified id. 
 aleft - Anchors the combobox to the left (AdiIRC only) 
 aright - Anchors the combobox to the right (AdiIRC only) 
 atop - Anchors the combobox to the top (AdiIRC only) 
 abottom - Anchors the combobox to the bottom (AdiIRC only)