DROPDOWN NEW: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
MikeO (talk | contribs)
No edit summary
 
Line 9: Line 9:
|param4=<width>|param4_desc={{width}}
|param4=<width>|param4_desc={{width}}
|param5=<height>|param5_desc={{height}}
|param5=<height>|param5_desc={{height}}
|param6=<variable>|param6_desc={{variable}}
|param6=<variable>|param6_desc=Variable to be set to the dropdown selection. 1 for the first item in the list, 2 for the second.
}}
}}
===Example===
===Example===

Latest revision as of 18:34, 18 August 2010

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