Project

General

Profile

Actions

Did » History » Revision 4

« Previous | Revision 4/9 (diff) | Next »
Per Amundsen, 02/25/2014 08:16 PM


Added in 1.9.0

/did -abcdefghijklmnorstuv <name> <id> [n] [text | filename | start [end]]

The /did command allows you to modify the values of controls in a dialog,

Switches

-a - Add line of text to end.
-b - Disable id.
-c - Check checkbox/radiobutton list/combo line.
-d - Delete Nth line.
-e - Enable id.
-f - Set focus on id.
-g - Set a new icon/image to an icon control.
-h - hide id
-i - Insert text at Nth line.
-j - Resets the edited setting in an editbox. (TODO)
-k - Works with -cu, keeps other selections in a listbox. (TODO)
-l - Uncheck the checkbox of an item in a listcb control.
-m - Disables editbox.
-n - Enables editbox.
-o - Overwrite Nth line with text.
-r - Clear all text in id.
-s - Checks the checkbox of an item in a listcb control.
-t - Set id as default button (TODO)
-u - Uncheck checkbox/radiobutton list/combo line.
-v - Make id visible.
-z - Resets the width of horizontal scrollbar in listbox. (TODO)

Parameters

<name> - Name of the dialog.
<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.
[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.
[text] - The text parameter if applicable.
[filename] - Filename used with -g. |start [end] - Used with -z to set the range of a scrollbar, or with -c to set a selection

Updated by Per Amundsen almost 11 years ago · 4 revisions

Also available in: PDF HTML TXT