Did » History » Version 9
Per Amundsen, 02/16/2023 12:12 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 5 | Per Amundsen | */did -abcdefghijklmnorstuvz <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 | 9 | Per Amundsen | table(ktable). |
10 | |*Switch*|*Description*| |
||
11 | | -a | Add line of text to end. | |
||
12 | | -b | Disable id. | |
||
13 | | -c | Check checkbox/radiobutton list/combo line. | |
||
14 | | -d | Delete Nth line. | |
||
15 | | -e | Enable id. | |
||
16 | | -f | Set focus on id. | |
||
17 | | -g | Set a new icon/image to an icon control. | |
||
18 | | -h | hide id | |
||
19 | | -i | Insert text at Nth line. | |
||
20 | | -j | Resets the edited setting in an editbox. *TODO* | |
||
21 | | -k | Works with -cu, keeps other selections in a listbox. | |
||
22 | | -l | Uncheck the checkbox of an item in a listcb control. | |
||
23 | | -m | Disables editbox. | |
||
24 | | -n | Enables editbox. | |
||
25 | | -o | Overwrite Nth line with text. | |
||
26 | | -r | Clear all text in id. | |
||
27 | | -s | Checks the checkbox of an item in a listcb control. | |
||
28 | | -t | Set id as default button. | |
||
29 | | -u | Uncheck checkbox/radiobutton list/combo line. | |
||
30 | | -v | Make id visible. | |
||
31 | | -z | Resets the width of horizontal scrollbar in listbox. *TODO* | |
||
32 | 1 | Per Amundsen | |
33 | 8 | Per Amundsen | *Parameters* |
34 | 1 | Per Amundsen | |
35 | 9 | Per Amundsen | table(ktable). |
36 | |*Parameter*|*Description*| |
||
37 | | <name> | Name of the dialog. | |
||
38 | | <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. | |
||
39 | | [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. | |
||
40 | | [text] | The text parameter if applicable. | |
||
41 | | [filename] | Filename used with -g. | |
||
42 | | <notextile>|</notextile>start [end] | Used with -z to set the range of a scrollbar, or with -c to set a selection | |