Project

General

Profile

Dialog Items » History » Revision 10

Revision 9 (Per Amundsen, 02/01/2017 03:27 AM) → Revision 10/40 (Per Amundsen, 02/01/2017 03:27 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 [pixels | dbu | notheme | disable>* 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. 

 --- 

 *icon <filename, [index]>* 

 Adds a icon to the dialog. 

 filename - Icon file, can be any type of picture or icon file, also a .exe or .dll. 
 [index] - Icon index in the .ico/.exe/.dll file to use. 

 --- 

 *icon <id, x y w h, filename, [index], [noborder, top, left, bottom, right, small, large, actual, disable, hide, tab id, aleft, aright, atop, abottom]>* 

 Adds a picturebox to the dialog. 

 id - Id of the picturebox. 
 x y w h - The x y position, width and height to use for the picturebox. 
 filename - Icon file, can be any type of picture or icon file, also a .exe or .dll. 
 [index] - Icon index in the .ico/.exe/.dll file to use. 
 noborder - TODO 
 top - TODO 
 left - TODO 
 bottom - TODO 
 right - TODO 
 small - TODO 
 large - TODO 
 actual - TODO 
 disable - Disables the picturebox. 
 hide - Hides the picturebox. 
 tabid/tab id - Indicates the picturebox should be shown on the tab with the specified id. 
 aleft - Anchors the picturebox to the left (AdiIRC only) 
 aright - Anchors the picturebox to the right (AdiIRC only) 
 atop - Anchors the picturebox to the top (AdiIRC only) 
 abottom - Anchors the picturebox to the bottom (AdiIRC only) 

 --- 

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

 Adds a tabcontrol to the dialog. 

 text - The text of the tab. 
 id - Id of the tabcontrol. 
 x y w h - The x y position, width and height to use for the tabcontrol. 

 --- 

 *tab <text, id* 

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

 --- 

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

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

 id - Id of the combobox. 
 x y w h - The x y position, width and height to use for the combobox. 
 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) 

 --- 

 *text* 

 --- 

 *link* 

 --- 

 *button* 

 --- 

 *check* 

 --- 

 *edit* 

 --- 

 *list* 

 --- 

 *radio* 

 --- 

 *box* 

 --- 

 *scroll* 

 --- 

 *menu* 

 --- 

 *item*