DROPDOWN VAL

From Macros Wiki
Jump to: navigation, search

Up

Command

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