Dialog Items » History » Revision 12
Revision 11 (Per Amundsen, 02/01/2017 03:32 AM) → Revision 12/40 (Per Amundsen, 02/01/2017 03:36 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. --- *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 returned when 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 <text, id, x y w h, [right, center, nowrap, result, disable, hide, tab id, aleft, aright, atop, abottom]>* Adds a text label to the dialog. text - The text to add. id - Id of the text. x y w h - The x y position, width and height to use for the text. right - Aligns the text to the right. center - Centers the text. nowrap - TODO result - Indicates the text should be returned when the dialog "OK/Accept button" is pressed. disable - Disables the text. hide - Hides the text. text tabid/tab id - Indicates the text should be shown on the tab with the specified id. aleft - Anchors the text to the left (AdiIRC only) aright - Anchors the text to the right (AdiIRC only) atop - Anchors the text to the top (AdiIRC only) abottom - Anchors the text to the bottom (AdiIRC only) --- *link <text, id, x y w h, [right, center, result, disable, hide, tab id, aleft, aright, atop, abottom]>* Adds a link label to the dialog. text - Text of the link. id - Id of the link. x y w h - The x y position, width and height to use for the link. right - Aligns the link to the right. center - Centers the link. result - Indicates the link text should be returned when the dialog "OK/Accept button" is pressed. disable - Disables the link. hide - Hides the link. tabid/tab id - Indicates the link should be shown on the tab with the specified id. aleft - Anchors the link to the left (AdiIRC only) aright - Anchors the link to the right (AdiIRC only) atop - Anchors the link to the top (AdiIRC only) abottom - Anchors the link to the bottom (AdiIRC only) *link* --- *button* --- *check* --- *edit* --- *list* --- *radio* --- *box* --- *scroll* --- *menu* --- *item*