BUTTON: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=BUTTON <left>, <top>, <width>, <height>, <nowiki><caption></nowiki>, <variable> |description=*DESCRPTION* |param1=<left>|param1_desc={{left}} |param2=<top>|param2_desc={{...
 
Mikeo (talk | contribs)
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|syntax=BUTTON <left>, <top>, <width>, <height>, <nowiki><caption></nowiki>, <variable>
[[:Category:Dialog|{{Up}}]]
|description=*DESCRPTION*
 
{{Command|syntax=[[Image:Button.png|right|BUTTON]]BUTTON <left>, <top>, <width>, <height>, <nowiki><caption></nowiki>
|description=:Define the size and the position of a button and the text to be displayed inside it.


|param1=<left>|param1_desc={{left}}
|param1=<left>|param1_desc={{left}}
Line 6: Line 8:
|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}}
}}
}}


===Example===
===Example===
:- BUTTON
:BUTTON 15, 15, 100, 24, "Variables"
<br>
:For an example macro see [[GetMTMData.dlg]]


[[Category:Dialog]]
[[Category:Dialog]]

Latest revision as of 15:17, 17 January 2011

Up

Command

BUTTON
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