DROPDOWN ADD

From Macros Wiki
Jump to: navigation, search

Up

Command

DROPDOWN_ADD
DROPDOWN_ADD <dropdown number>, <caption>, <value>


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>
Text to be displayed. Either use text in double quotes, or a string variable.
<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