DROPDOWN VAL: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
MikeO (talk | contribs)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[:Category:Dialog|{{Up}}]]
{{Command|syntax=[[Image:Dropdown_val.png|right|DROPDOWN_VAL]]DROPDOWN_VAL <dropdown number>, <initial value>
{{Command|syntax=[[Image:Dropdown_val.png|right|DROPDOWN_VAL]]DROPDOWN_VAL <dropdown number>, <initial value>
|description=:Define the dafault selection of a dropdown menu
|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={{default}}
|param2=<initial value>|param2_desc=The value of the initial dropdown item to be selected when the dialog is displayed.
}}
}}



Latest revision as of 18:39, 18 August 2010

Up

Command

DROPDOWN_VAL
DROPDOWN_VAL
DROPDOWN_VAL <dropdown number>, <initial value>


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