Difference between revisions of "BUTTON"

From Macros Wiki
Jump to: navigation, search
Line 12: Line 12:
:BUTTON 15, 15, 100, 24, "Variables", 5
:BUTTON 15, 15, 100, 24, "Variables", 5
:For an example macro see [[Get_MTM_Data]]

Revision as of 17:30, 29 July 2010


BUTTON <left>, <top>, <width>, <height>, <caption>, <variable>

Define the size and the position of a button and the text to be displayed inside it.


Start position measured from the left edge of the dialog.
Start position of measured from the top edge of the dialog.
Width of the control.
Height of the control.
Text to be displayed on the button.
Define a custom variable to be used later in the macro, for example "1".


BUTTON 15, 15, 100, 24, "Variables", 5
For an example macro see Get_MTM_Data