CHECK: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 13: Line 13:
===Example===
===Example===
:CHECK 070,  044, 070, 24, "Cross", dir1,  0
:CHECK 070,  044, 070, 24, "Cross", dir1,  0
:For an example macro see [[GetCommands.dlg]]
:For an example macro see [[GetCommands.dlg]] [[GeoSavedProcess.dlg]]
[[Category:Dialog]]
[[Category:Dialog]]

Revision as of 22:17, 29 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
For an example macro see GetCommands.dlg GeoSavedProcess.dlg