Difference between revisions of "BUTTON"

From Macros Wiki
Jump to: navigation, search
(New page: {{Command|syntax=BUTTON <left>, <top>, <width>, <height>, <nowiki><caption></nowiki>, <variable> |description=*DESCRPTION* |param1=<left>|param1_desc={{left}} |param2=<top>|param2_desc={{...)
 
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={{caption}}
 
|param6=<variable>|param6_desc={{variable}}
 
|param6=<variable>|param6_desc={{variable}}
 
}}
 
}}

Revision as of 12:44, 16 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. Either use text in double quotes, or a string variable.
<variable>
Define a custom variable to be used later in the macro, for example "w1".

Example

- BUTTON