From WikiChip
Editing mirc/commands/did

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
{{mirc title|/did Command}}
 
 
The '''/did command''' allows you to modify the values of controls in a dialog.
 
The '''/did command''' allows you to modify the values of controls in a dialog.
  
Line 15: Line 14:
 
* '''-n''' - enables editbox
 
* '''-n''' - enables editbox
 
* '''-m''' - disables editbox
 
* '''-m''' - disables editbox
* '''-c''' - check a checkbox/radio/list/combo/ line, can be used to set the selected text in an edibox/combo drop control
+
* '''-c''' - check a checkbox/radio/list/combo/ line, can be used to set the selected text in the control
* '''-u''' - uncheck a checkbox/radio/list/combo line, used with -c, can be used to mark a 3dstate checkbox as indeterminate, used with -f, sets the focus on a tab control
+
* '''-u''' - uncheck a checkbox/radio/list/combo line, used with -c, can be used to mark a 3dstate checkbox as indeterminate
* '''-k''' - used with -c and -u, keeps other selections in a listbox
+
* '''-k''' - used with -cu, keeps other selections in a listbox
 
* '''-s''' - checks the checkbox of an item in a listbox control that uses checkboxes
 
* '''-s''' - checks the checkbox of an item in a listbox control that uses checkboxes
 
* '''-l''' - unchecks the checkbox of an item in a listbox control that uses checkboxes
 
* '''-l''' - unchecks the checkbox of an item in a listbox control that uses checkboxes
 
* '''-r''' - clears all text in <id>
 
* '''-r''' - clears all text in <id>
* '''-a''' - appends text to the end of a control or adds an item to a menu
+
* '''-a''' - appends text to the end of a control or a menu
 
* '''-d''' - deletes the Nth line in a listbox/combo
 
* '''-d''' - deletes the Nth line in a listbox/combo
* '''-i''' - insert line in a listbox/combo or inserts an item to a menu
+
* '''-i''' - insert line in a listbox/combo or to a menu
 
* '''-o''' - overwrite the Nth line in a listbox/combo with text
 
* '''-o''' - overwrite the Nth line in a listbox/combo with text
 
* '''-g''' - set a new icon/bmp to an icon control
 
* '''-g''' - set a new icon/bmp to an icon control
Line 32: Line 31:
 
* '''<name>''' - name of the dialog
 
* '''<name>''' - name of the dialog
 
* '''<id>''' - id of the controls, you can use the form N-N1,N2-N3 to change multiple ids at once, 1-5,6,9 would change the following ids: 1,2,3,4,5,6,9
 
* '''<id>''' - id of the controls, you can use the form N-N1,N2-N3 to change multiple ids 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.
+
* '''[n]''' - usually a line number, it can also be an id number with menus, use 0 if you want to access the edit of a combo control.
 
* '''[text]''' - the text parameter if applicable
 
* '''[text]''' - the text parameter if applicable
 
* '''[filename]''' - used with -g
 
* '''[filename]''' - used with -g
Line 38: Line 37:
  
 
== Example ==
 
== Example ==
You can check the {{mIRC|dialog components}} page for examples of /did per control
+
None
  
 
== Compatibility ==
 
== Compatibility ==
{{mIRC compatibility|5.5}}
+
Added: 5.5
 +
 
 +
Added On: 08/01/99
 +
 
 +
<small>Note: Individual switches were not taken into consideration.</small>
  
 
== See also ==
 
== See also ==
 
* [[List of commands - mIRC|List of commands]]
 
* [[List of commands - mIRC|List of commands]]
 
* [[List of identifiers - mIRC|List of identifiers]]
 
* [[List of identifiers - mIRC|List of identifiers]]
* {{mIRC|$did}}
+
* [[$did identifier - mIRC|$did]]
* {{mIRC|$didtok}}
+
* [[$didtok identifier - mIRC|$didtok]]
* {{mIRC|$dialog}}
+
* [[$dialog identifier - mIRC|$dialog]]
* {{mIRC|$didwm}}
+
* [[$didwm identifier - mIRC|$didwm]]
* {{mIRC|$didreg}}
+
* [[$didreg identifier - mIRC|$didreg]]
* {{mIRC|/dialog}}
+
* [[/dialog command - mIRC|/dialog]]
{{mIRC command list}}
 
  
[[Category:mIRC commands|did command - mIRC]]
+
[[Category:mIRC commands]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)