BUTTON: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
|param3=<width>|param3_desc={{width}} | |param3=<width>|param3_desc={{width}} | ||
|param4=<height>|param4_desc={{height}} | |param4=<height>|param4_desc={{height}} | ||
|param5=<nowiki><caption></nowiki>|param5_desc={{ | |param5=<nowiki><caption></nowiki>|param5_desc={{button_caption}} | ||
|param6=<variable>|param6_desc={{variable}} | |param6=<variable>|param6_desc={{variable}} | ||
}} | }} |
Revision as of 17:02, 19 July 2010
Command
- BUTTON <left>, <top>, <width>, <height>, <caption>, <variable>
- DESCRPTION*
Parameters
- <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.
- <caption>
- Text to be displayed on the button.
- <variable>
- Define a custom variable to be used later in the macro, for example "w1".
Example
- - BUTTON