DROPDOWN NEW: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|syntax=[[Image:Dropdown.png|right|DROPDOWN]]DROPDOWN_NEW <dropdown group>, <left>, <top>, <width>, <height>, <variable> | {{Command|syntax=[[Image:Dropdown.png|right|DROPDOWN]]DROPDOWN_NEW <dropdown group>, <left>, <top>, <width>, <height>, <variable> | ||
|description= | |description=:Define the size and the position of a new dropdown menu, to add new selctions see [[DROPDOWN_ADD|here]]. | ||
|param1=<dropdown group>|param1_desc={{dropdown group}} | |param1=<dropdown group>|param1_desc={{dropdown group}} |
Revision as of 17:22, 19 July 2010
Command
- Define the size and the position of a new dropdown menu, to add new selctions see here.
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>
- Define a custom variable to be used later in the macro, for example "w1".
Example
- DROPDOWN_NEW 1, 15, 52, 110, 24, drop1