DROPDOWN ADD: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
New page: {{Command|syntax=DROPDOWN_ADD <dropdown number>, <nowiki><caption></nowiki>, <value> |description=*DESCRPTION* |param1=<dropdown number>|param1_desc={{dropdown number}} |param2=<nowiki><c... |
No edit summary |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|syntax=DROPDOWN_ADD <dropdown number>, <nowiki><caption></nowiki>, <value> | [[:Category:Dialog|{{Up}}]] | ||
|description= | |||
{{Command|syntax=[[Image:Dropdown_add.png|right|DROPDOWN_ADD]]DROPDOWN_ADD <dropdown number>, <nowiki><caption></nowiki>, <value> | |||
|description=:Add an item to an existing dropdown menu. Each dropdown menu must have at least one item. To create a dropdown menu see [[DROPDOWN_NEW]] | |||
|param1=<dropdown number>|param1_desc={{dropdown number}} | |param1=<dropdown number>|param1_desc={{dropdown number}} | ||
|param2=<nowiki><caption></nowiki>|param2_desc={{caption}} | |param2=<nowiki><caption></nowiki>|param2_desc={{caption}} | ||
|param3=<value>|param3_desc= | |param3=<value>|param3_desc=Value of this item, the dropdown menu variable will be set to this value if this item is selected. | ||
}} | }} | ||
===Example=== | ===Example=== | ||
: | :DROPDOWN_ADD 1, "Simple Shapes", 10 | ||
[[Category:Dialog]] | [[Category:Dialog]] |
Latest revision as of 15:19, 17 January 2011
Command
- Add an item to an existing dropdown menu. Each dropdown menu must have at least one item. To create a dropdown menu see DROPDOWN_NEW
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>
- Message Box title text. Either use text in double quotes, or a string variable.
Note - this text is required if using the OK and CANCEL option
- <value>
- Value of this item, the dropdown menu variable will be set to this value if this item is selected.
Example
- DROPDOWN_ADD 1, "Simple Shapes", 10