Project

General

Profile

Actions

Added in 1.9.0

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

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

Switches

Switch Description
-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.
-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.
-u Uncheck checkbox/radiobutton list/combo line.
-v Make id visible.
-z Resets the width of horizontal scrollbar in listbox. TODO

Parameters

Parameter Description
<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 over 1 year ago · 9 revisions

Also available in: PDF HTML TXT