Did » History » Revision 6
Revision 5 (Per Amundsen, 11/09/2014 09:49 PM) → Revision 6/9 (Per Amundsen, 06/27/2016 06:32 AM)
_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* -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. 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