Project

General

Profile

Did » History » Version 2

Per Amundsen, 02/09/2014 06:41 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 2 Per Amundsen
*/did -abcdefghijklmnorstuv <name> <id> [n] [text | filename | start [end]]*
4 1 Per Amundsen
5
The /did command allows you to modify the values of controls in a dialog,
6
7
*Switches*
8
9
-a - Add line of text to end.
10
-b - Disable id.
11
-c - Check checkbox/radiobutton list/combo line.
12
-d - Delete Nth line.
13
-e - Enable id.
14
-f - Set focus on id.
15 2 Per Amundsen
-g - Set a new icon/image to an icon control.
16 1 Per Amundsen
-h - hide id
17
-h - Hide id.
18
-i - Insert text at Nth line.
19
-j - Resets the edited setting in an editbox. (TODO)
20
-k - Works with -cu, keeps other selections in a listbox. (TODO)
21
-l - Uncheck the checkbox of an item in a listcb control. (TODO)
22
-m - Disables editbox.
23
-n - Enables editbox.
24
-o - Overwrite Nth line with text.
25
-r - Clear all text in id.
26
-s - Checks the checkbox of an item in a listcb control. (TODO)
27
-t - Set id as default button (TODO)
28
-u - Uncheck checkbox/radiobutton list/combo line.
29
-v - Make id visible.
30
-z - Resets the width of horizontal scrollbar in listbox. (TODO)
31
32
*Parameters*
33
34 2 Per Amundsen
<name> - Name of the dialog.
35
<id> - Id of the control to edit, you can use the form N-N1,N2-N3 to change multiple id's at once, 1-5,6,9 would change the following ids: 1,2,3,4,5,6,9.
36
[n] - Usually a line number, it can also be an id number with menus, use 0 if you want to access the editbox of a combo control. 
37
[text] - The text parameter if applicable.
38
[filename] - Filename used with -g.
39
|start [end] - Used with -z to set the range of a scrollbar, or with -c to set a selection