Difference between revisions of "DROPDOWN ADD"
From Macros Wiki
Line 1: | Line 1: | ||
{{Command|syntax=[[Image:Dropdown_add.png|right|DROPDOWN_ADD]]DROPDOWN_ADD <dropdown number>, <nowiki><caption></nowiki>, <value> | {{Command|syntax=[[Image:Dropdown_add.png|right|DROPDOWN_ADD]]DROPDOWN_ADD <dropdown number>, <nowiki><caption></nowiki>, <value> | ||
− | |description= | + | |description=:Add a selection to an existing dropdown menu, there must be at least one. to add a dropdown enu see [[DROPDOWN_NEW|here]] |
|param1=<dropdown number>|param1_desc={{dropdown number}} | |param1=<dropdown number>|param1_desc={{dropdown number}} |
Revision as of 12:31, 19 July 2010
Command
- DROPDOWN_ADD <dropdown number>, <caption>, <value>
- Add a selection to an existing dropdown menu, there must be at least one. to add a dropdown enu see here
Parameters
- <dropdown number>
- Define the group number of the radio button, for example:
- dropdown_new 1, 15, 52, 110, 24, drop1
- dropdown_add 1, "Simple Shapes", 10
- dropdown_add 1, "Advanced Shapes", 20
- <caption>
- Text to be displayed. Either use text in double quotes, or a string variable.
- <value>
- Name of variable to be set by this command
Example
- - DROPDOWN_ADD 1, "Simple Shapes", 10