Project

General

Profile

Actions

Dialog Items » History » Revision 15

« Previous | Revision 15/40 (diff) | Next »
Per Amundsen, 02/01/2017 08:37 PM


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.
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)


button <text, id, x y w h, [default, ok, cancel, flat, multi, result, disable, hide, tab id, aleft, aright, atop, abottom]>

Adds a button to the dialog.

text - Text of the button.
id - Id of the button.
x y w h - The x y position, width and height to use for the button.
default - Sets the button as the default/accept button of the dialog.
ok - Sets the button as the "ok" button of the dialog.
cancel - Sets the button as the "cencel" button of the dialog.
flat - Shows the button as a flat button.
multi - TODO
result - Indicates the button text should be returned when the dialog "OK/Accept button" is pressed.
disable - Disables the button.
hide - Hides the button.
tabid/tab id - Indicates the button should be shown on the tab with the specified id.
aleft - Anchors the button to the left (AdiIRC only)
aright - Anchors the button to the right (AdiIRC only)
atop - Anchors the button to the top (AdiIRC only)
abottom - Anchors the button to the bottom (AdiIRC only)


check <text, id, x y w h, [left, push, 3state, flat, result, disable, hide, tab id, aleft, aright, atop, abottom]>

Adds a checkbox to the dialog.

text - Text of the checkbox.
id - Id of the checkbox.
x y w h - The x y position, width and height to use for the checkbox.
left - TODO
push - Shows the checkbox as a button.
3state - Enables the intermediate state, gives the checkbox 3 states it can be in.
flat - Shows the checkbox as a flat checkbox.
result - Indicates the checkbox text should be returned when the dialog "OK/Accept button" is pressed.
disable - Disables the checkbox.
hide - Hides the checkbox.
tabid/tab id - Indicates the checkbox should be shown on the tab with the specified id.
aleft - Anchors the checkbox to the left (AdiIRC only)
aright - Anchors the checkbox to the right (AdiIRC only)
atop - Anchors the checkbox to the top (AdiIRC only)
abottom - Anchors the checkbox to the bottom (AdiIRC only)


edit


list


radio


box


scroll


menu


item

Updated by Per Amundsen almost 8 years ago · 15 revisions

Also available in: PDF HTML TXT