CHECK: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=CHECK <left>, <top>, <width>, <height>, <variable>, [<default>] |description=*DESCRPTION* |param1=<left>|param1_desc={{left}} |param2=<top>|param2_desc={{top}} |param3=<...
 
ConnerO (talk | contribs)
No edit summary
Line 1: Line 1:
{{Command|syntax=CHECK <left>, <top>, <width>, <height>, <variable>, [<default>]  
{{Command|syntax=[[Image:Check.png|right|CHECK]]CHECK <left>, <top>, <width>, <height>, <text>, <variable>, [<default>]  
|description=*DESCRPTION*
|description=:Define the size and the position of a check box and the text to be displayed next to it.


|param1=<left>|param1_desc={{left}}
|param1=<left>|param1_desc={{left}}
Line 6: Line 6:
|param3=<width>|param3_desc={{width}}
|param3=<width>|param3_desc={{width}}
|param4=<height>|param4_desc={{height}}
|param4=<height>|param4_desc={{height}}
|param4=<text>|param4_desc={{check_text}}
|param5=<variable>|param5_desc={{variable}}
|param5=<variable>|param5_desc={{variable}}
|param6=[<default>]|param6_desc={{default}}
|param6=[<default>]|param6_desc={{default}}
Line 11: Line 12:


===Example===
===Example===
:- CHECK
:CHECK 070,  044, 070, 24, "Cross", dir1,  0


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

Revision as of 16:22, 19 July 2010

Command

CHECK
CHECK
CHECK <left>, <top>, <width>, <height>, <text>, <variable>, [<default>]


Define the size and the position of a check box and the text to be displayed next to 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.
<text>
Text to be displayed next to the check box, must be in double quotes.
<variable>
Define a custom variable to be used later in the macro, for example "w1".
[<default>]
Optional default value.

Example

CHECK 070, 044, 070, 24, "Cross", dir1, 0