DROPDOWN NEW: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
New page: {{Command|syntax=DROPDOWN_NEW <left>, <top>, <width>, <height>, <variable> |description=*DESCRPTION* |param1=<left>|param1_desc={{left}} |param2=<top>|param2_desc={{top}} |param3=<width>... |
No edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[:Category:Dialog|{{Up}}]] | |||
{{Command|syntax=[[Image:Dropdown.png|right|DROPDOWN]]DROPDOWN_NEW <dropdown group>, <left>, <top>, <width>, <height>, <variable> | |||
|description=:Define the size and the position of a new dropdown menu, to add new selctions see [[DROPDOWN_ADD]]. | |||
|param1=<dropdown group>|param1_desc={{dropdown group}} | |||
|param2=<left>|param2_desc={{left}} | |||
|param3=<top>|param3_desc={{top}} | |||
|param4=<width>|param4_desc={{width}} | |||
|param5=<height>|param5_desc={{height}} | |||
|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=== | ||
: | :DROPDOWN_NEW 1, 15, 52, 110, 24, drop1 | ||
[[Category:Dialog]] | [[Category:Dialog]] |
Latest revision as of 18:34, 18 August 2010
Command
- 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