Dialog Items » History » Version 12
Per Amundsen, 02/01/2017 03:36 AM
1 | 1 | Per Amundsen | h1. Dialog Items |
---|---|---|---|
2 | |||
3 | *title <tezt>* |
||
4 | |||
5 | Sets the titlebar text of the dialog. |
||
6 | |||
7 | 7 | Per Amundsen | --- |
8 | |||
9 | 1 | Per Amundsen | *size <x y w h>* |
10 | |||
11 | Sets the x/y position and the width/height of the dialog. |
||
12 | |||
13 | 7 | Per Amundsen | --- |
14 | |||
15 | 10 | Per Amundsen | *option <pixels | dbu | notheme | disable>* |
16 | 1 | Per Amundsen | |
17 | pixels - The dialog and All dialog items sizes are defined in pixels. |
||
18 | dbu - The dialog and All dialog items sizes are defined in Dialog Base Units. |
||
19 | notheme - Sets the dialog border style to fixed single and disables windows theme styling. |
||
20 | disable - Disables all controls for a second when the dialog is shown. |
||
21 | |||
22 | 7 | Per Amundsen | --- |
23 | |||
24 | 8 | Per Amundsen | *icon <filename, [index]>* |
25 | |||
26 | Adds a icon to the dialog. |
||
27 | |||
28 | filename - Icon file, can be any type of picture or icon file, also a .exe or .dll. |
||
29 | [index] - Icon index in the .ico/.exe/.dll file to use. |
||
30 | |||
31 | --- |
||
32 | |||
33 | 9 | Per Amundsen | *icon <id, x y w h, filename, [index], [noborder, top, left, bottom, right, small, large, actual, disable, hide, tab id, aleft, aright, atop, abottom]>* |
34 | 8 | Per Amundsen | |
35 | Adds a picturebox to the dialog. |
||
36 | |||
37 | id - Id of the picturebox. |
||
38 | x y w h - The x y position, width and height to use for the picturebox. |
||
39 | filename - Icon file, can be any type of picture or icon file, also a .exe or .dll. |
||
40 | [index] - Icon index in the .ico/.exe/.dll file to use. |
||
41 | noborder - TODO |
||
42 | top - TODO |
||
43 | left - TODO |
||
44 | bottom - TODO |
||
45 | right - TODO |
||
46 | small - TODO |
||
47 | large - TODO |
||
48 | actual - TODO |
||
49 | disable - Disables the picturebox. |
||
50 | 1 | Per Amundsen | hide - Hides the picturebox. |
51 | 9 | Per Amundsen | tabid/tab id - Indicates the picturebox should be shown on the tab with the specified id. |
52 | aleft - Anchors the picturebox to the left (AdiIRC only) |
||
53 | aright - Anchors the picturebox to the right (AdiIRC only) |
||
54 | atop - Anchors the picturebox to the top (AdiIRC only) |
||
55 | abottom - Anchors the picturebox to the bottom (AdiIRC only) |
||
56 | 5 | Per Amundsen | |
57 | 7 | Per Amundsen | --- |
58 | |||
59 | 6 | Per Amundsen | *tab <text, id, x y w h>* |
60 | 1 | Per Amundsen | |
61 | 6 | Per Amundsen | Adds a tabcontrol to the dialog. |
62 | 1 | Per Amundsen | |
63 | 6 | Per Amundsen | text - The text of the tab. |
64 | id - Id of the tabcontrol. |
||
65 | x y w h - The x y position, width and height to use for the tabcontrol. |
||
66 | |||
67 | 7 | Per Amundsen | --- |
68 | |||
69 | 1 | Per Amundsen | *tab <text, id* |
70 | |||
71 | Adds a new tab to the tabcontrol with the specified id. |
||
72 | |||
73 | 7 | Per Amundsen | --- |
74 | |||
75 | 3 | Per Amundsen | *combo <id, x y w h, [sort, edit, drop, size, vsbar, hsbar, result, disable, tab id, aleft, aright, atop, abottom]>* |
76 | 1 | Per Amundsen | |
77 | Adds a combobox to the dialog with the specified id at position x/y and the w/h width/height. |
||
78 | |||
79 | 6 | Per Amundsen | id - Id of the combobox. |
80 | x y w h - The x y position, width and height to use for the combobox. |
||
81 | 1 | Per Amundsen | sort - Enables sorting. |
82 | edit - Shows the editbox. |
||
83 | drop - Show as a dropdown list. |
||
84 | size - Sets the height of the dropdown area. |
||
85 | vsbar - Enables the vertical scrollbar. |
||
86 | hsbar - Enables the horizontal scrollbar. |
||
87 | 11 | Per Amundsen | result -Indicates the selected dropdown item/text should be returned when the dialog "OK/Accept button" is pressed. |
88 | 1 | Per Amundsen | disable - Disables the combobox. |
89 | tabid/tab id - Indicates the combobox should be shown on the tab with the specified id. |
||
90 | aleft - Anchors the combobox to the left (AdiIRC only) |
||
91 | aright - Anchors the combobox to the right (AdiIRC only) |
||
92 | atop - Anchors the combobox to the top (AdiIRC only) |
||
93 | abottom - Anchors the combobox to the bottom (AdiIRC only) |
||
94 | 4 | Per Amundsen | |
95 | 7 | Per Amundsen | --- |
96 | 1 | Per Amundsen | |
97 | 11 | Per Amundsen | *text <text, id, x y w h, [right, center, nowrap, result, disable, hide, tab id, aleft, aright, atop, abottom]>* |
98 | |||
99 | Adds a text label to the dialog. |
||
100 | |||
101 | text - The text to add. |
||
102 | id - Id of the text. |
||
103 | x y w h - The x y position, width and height to use for the text. |
||
104 | right - Aligns the text to the right. |
||
105 | center - Centers the text. |
||
106 | nowrap - TODO |
||
107 | result - Indicates the text should be returned when the dialog "OK/Accept button" is pressed. |
||
108 | disable - Disables the text. |
||
109 | 12 | Per Amundsen | hide - Hides the text. |
110 | 11 | Per Amundsen | tabid/tab id - Indicates the text should be shown on the tab with the specified id. |
111 | aleft - Anchors the text to the left (AdiIRC only) |
||
112 | aright - Anchors the text to the right (AdiIRC only) |
||
113 | atop - Anchors the text to the top (AdiIRC only) |
||
114 | abottom - Anchors the text to the bottom (AdiIRC only) |
||
115 | 4 | Per Amundsen | |
116 | 7 | Per Amundsen | --- |
117 | 1 | Per Amundsen | |
118 | 12 | Per Amundsen | *link <text, id, x y w h, [right, center, result, disable, hide, tab id, aleft, aright, atop, abottom]>* |
119 | |||
120 | Adds a link label to the dialog. |
||
121 | |||
122 | text - Text of the link. |
||
123 | id - Id of the link. |
||
124 | x y w h - The x y position, width and height to use for the link. |
||
125 | right - Aligns the link to the right. |
||
126 | center - Centers the link. |
||
127 | result - Indicates the link text should be returned when the dialog "OK/Accept button" is pressed. |
||
128 | disable - Disables the link. |
||
129 | hide - Hides the link. |
||
130 | tabid/tab id - Indicates the link should be shown on the tab with the specified id. |
||
131 | aleft - Anchors the link to the left (AdiIRC only) |
||
132 | aright - Anchors the link to the right (AdiIRC only) |
||
133 | atop - Anchors the link to the top (AdiIRC only) |
||
134 | abottom - Anchors the link to the bottom (AdiIRC only) |
||
135 | 4 | Per Amundsen | |
136 | 7 | Per Amundsen | --- |
137 | |||
138 | 4 | Per Amundsen | *button* |
139 | |||
140 | 7 | Per Amundsen | --- |
141 | |||
142 | 4 | Per Amundsen | *check* |
143 | |||
144 | 7 | Per Amundsen | --- |
145 | |||
146 | 4 | Per Amundsen | *edit* |
147 | |||
148 | 7 | Per Amundsen | --- |
149 | |||
150 | 4 | Per Amundsen | *list* |
151 | |||
152 | 7 | Per Amundsen | --- |
153 | |||
154 | 4 | Per Amundsen | *radio* |
155 | |||
156 | 7 | Per Amundsen | --- |
157 | |||
158 | 4 | Per Amundsen | *box* |
159 | |||
160 | 7 | Per Amundsen | --- |
161 | |||
162 | 4 | Per Amundsen | *scroll* |
163 | |||
164 | 7 | Per Amundsen | --- |
165 | |||
166 | 4 | Per Amundsen | *menu* |
167 | 7 | Per Amundsen | |
168 | --- |
||
169 | 4 | Per Amundsen | |
170 | *item* |