DROPDOWN VAL: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Command|syntax=DROPDOWN_VAL <dropdown number>, <initial value> | [[:Category:Dialog|{{Up}}]] | ||
|description= | |||
{{Command|syntax=[[Image:Dropdown_val.png|right|DROPDOWN_VAL]]DROPDOWN_VAL <dropdown number>, <initial value> | |||
|description=:Define the default selection of a dropdown menu | |||
|param1=<dropdown number>|param1_desc={{dropdown number}} | |param1=<dropdown number>|param1_desc={{dropdown number}} | ||
|param2=<initial value>|param2_desc= | |param2=<initial value>|param2_desc=The value of the initial dropdown item to be selected when the dialog is displayed. | ||
}} | }} | ||
===Example=== | ===Example=== | ||
: | :DROPDOWN_VAL 1, 20 | ||
[[Category:Dialog]] | [[Category:Dialog]] |
Latest revision as of 18:39, 18 August 2010
Command
- Define the default selection of a dropdown menu
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
- <initial value>
- The value of the initial dropdown item to be selected when the dialog is displayed.
Example
- DROPDOWN_VAL 1, 20