Difference between revisions of "BUTTON"

From Macros Wiki
Jump to: navigation, search
 
Line 13: Line 13:
 
===Example===
 
===Example===
 
:BUTTON 15, 15, 100, 24, "Variables"
 
:BUTTON 15, 15, 100, 24, "Variables"
 +
<br>
 
:For an example macro see [[GetMTMData.dlg]]
 
:For an example macro see [[GetMTMData.dlg]]
 +
 
[[Category:Dialog]]
 
[[Category:Dialog]]

Latest revision as of 11:17, 17 January 2011

Up

Command

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


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.

Example

BUTTON 15, 15, 100, 24, "Variables"


For an example macro see GetMTMData.dlg