BUTTON: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
===Example=== | ===Example=== | ||
:BUTTON 15, 15, 100, 24, "Variables", 5 | :BUTTON 15, 15, 100, 24, "Variables", 5 | ||
:For an example macro see [[Get_MTM_Data]] | |||
[[Category:Dialog]] | [[Category:Dialog]] |
Revision as of 21:30, 29 July 2010
Command
- Define the size and the position of a button and the text to be displayed inside it.
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 "1".
Example
- BUTTON 15, 15, 100, 24, "Variables", 5
- For an example macro see Get_MTM_Data