Project

General

Profile

Dialog Items » History » Version 17

Per Amundsen, 02/01/2017 10:59 PM

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 14 Per Amundsen
*button <text, id, x y w h, [default, ok, cancel, flat, multi, result, disable, hide, tab id, aleft, aright, atop, abottom]>*
139 13 Per Amundsen
140
Adds a button to the dialog.
141
142
text - Text of the button.
143
id - Id of the button.
144
x y w h - The x y position, width and height to use for the button.
145
default - Sets the button as the default/accept button of the dialog.
146
ok - Sets the button as the "ok" button of the dialog.
147
cancel - Sets the button as the "cencel" button of the dialog.
148 15 Per Amundsen
flat - Shows the button as a flat button.
149 13 Per Amundsen
multi - TODO
150
result - Indicates the button text should be returned when the dialog "OK/Accept button" is pressed.
151
disable - Disables the button.
152
hide - Hides the button.
153
tabid/tab id - Indicates the button should be shown on the tab with the specified id.
154
aleft - Anchors the button to the left (AdiIRC only)
155
aright - Anchors the button to the right (AdiIRC only)
156
atop - Anchors the button to the top (AdiIRC only)
157
abottom - Anchors the button to the bottom (AdiIRC only)
158 4 Per Amundsen
159 7 Per Amundsen
---
160 1 Per Amundsen
161 15 Per Amundsen
*check <text, id, x y w h, [left, push, 3state, flat, result, disable, hide, tab id, aleft, aright, atop, abottom]>*
162
163
Adds a checkbox to the dialog.
164
165
text - Text of the checkbox.
166
id - Id of the checkbox.
167
x y w h - The x y position, width and height to use for the checkbox.
168
left - TODO
169
push - Shows the checkbox as a button.
170
3state - Enables the intermediate state, gives the checkbox 3 states it can be in.
171
flat - Shows the checkbox as a flat checkbox.
172
result - Indicates the checkbox text should be returned when the dialog "OK/Accept button" is pressed.
173
disable - Disables the checkbox.
174
hide - Hides the checkbox.
175
tabid/tab id - Indicates the checkbox should be shown on the tab with the specified id.
176
aleft - Anchors the checkbox to the left (AdiIRC only)
177
aright - Anchors the checkbox to the right (AdiIRC only)
178
atop - Anchors the checkbox to the top (AdiIRC only)
179
abottom - Anchors the checkbox to the bottom (AdiIRC only)
180 4 Per Amundsen
181 7 Per Amundsen
---
182
183 16 Per Amundsen
*edit <text, id, x y w h, [right, center, multi, pass, read, return, hsbar, vsbar, autohs, autovs, limit N, rich, result, disable, hide, tab id, aleft, aright, atop, abottom]>*
184
185
Adds a textbox to the dialog.
186
187
text - Text of the textbox.
188
id - Id of the textbox.
189
x y w h - The x y position, width and height to use for the textbox.
190
right - Aligns the text in the textbox to the right.
191
center - Aligns the text in the textbox to the center.
192
multi - Enables multi lines.
193
pass - Indicates the text in the textbox is a password and should be masked.
194
read - Enables read only mode.
195
return - Allow return key to add new lines.
196
hsbar - Enables horizontal scrollbar.
197
vsbar - Enables vertical scrollbar.
198
autohs - Disables word wrap in a multi line textbox .
199
autovs - Automatically scroll to bottom when adding lines in multi line textbox .
200
limit N - Limits the textbox to N characters.
201
rich - Enables richtextbox instead of regular textbox.
202
result - Indicates the textbox text should be returned when the dialog "OK/Accept button" is pressed.
203
disable - Disables the textbox.
204
hide - Hides the textbox.
205
tabid/tab id - Indicates the textbox should be shown on the tab with the specified id.
206
aleft - Anchors the textbox to the left (AdiIRC only)
207
aright - Anchors the textbox to the right (AdiIRC only)
208
atop - Anchors the textbox to the top (AdiIRC only)
209
abottom - Anchors the textbox to the bottom (AdiIRC only)
210 4 Per Amundsen
211 7 Per Amundsen
---
212
213 17 Per Amundsen
*list <id, x y w h, [sort, extsel, multse, size, vsbar, hsbar, check, radio, result, disable, hide, tab id, aleft, aright, atop, abottom]>*
214
215
Adds a listbox to the dialog.
216
217
id - Id of the listbox.
218
x y w h - The x y position, width and height to use for the listbox.
219
sort - Enables sorting.
220
extsel - Enabled extended selection mode.
221
multsel - Enabled multi selection mode.
222
size - ?
223
vsbar - Shows the vertical scrollbar always.
224
hsbar - Shows the horizontal scrollbar always.
225
check - Shows checkboxes instead of text.
226
radio - TODO
227
result - Indicates the selected listbox text should be returned when the dialog "OK/Accept button" is pressed.
228
disable - Disables the listbox.
229
hide - Hides the listbox.
230
tabid/tab id - Indicates the listbox should be shown on the tab with the specified id.
231
aleft - Anchors the listbox to the left (AdiIRC only)
232
aright - Anchors the listbox to the right (AdiIRC only)
233
atop - Anchors the listbox to the top (AdiIRC only)
234
abottom - Anchors the listbox to the bottom (AdiIRC only)
235 4 Per Amundsen
236 7 Per Amundsen
---
237
238 4 Per Amundsen
*radio*
239
240 7 Per Amundsen
---
241
242 4 Per Amundsen
*box*
243
244 7 Per Amundsen
---
245
246 4 Per Amundsen
*scroll*
247
248 7 Per Amundsen
---
249
250 4 Per Amundsen
*menu*
251 7 Per Amundsen
252
---
253 4 Per Amundsen
254
*item*