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={{...
 
ConnerO (talk | contribs)
No edit summary
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 16: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>
Message Box title text. Either use text in double quotes, or a string variable.
  Note - this text is required if using the OK and CANCEL option
<variable>
Define a custom variable to be used later in the macro, for example "w1".

Example

- BUTTON