DROPDOWN NEW

From Macros Wiki
Jump to navigationJump to search

Up

Command

DROPDOWN
DROPDOWN
DROPDOWN_NEW <dropdown group>, <left>, <top>, <width>, <height>, <variable>


Define the size and the position of a new dropdown menu, to add new selctions see DROPDOWN_ADD.

Parameters

<dropdown group>
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
<left>
Start position measured from the left edge of the dialog.
<top>
Start position of measured from the top edge of the dialog.
<width>
Width of the control.
<height>
Height of the control.
<variable>
Variable to be set to the dropdown selection. 1 for the first item in the list, 2 for the second.

Example

DROPDOWN_NEW 1, 15, 52, 110, 24, drop1