CANCEL: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


{{Command|syntax=[[Image:Cancel.png|right|CANCEL]]CANCEL <left>, <top>, <width>, <height>
{{Command|syntax=[[Image:Cancel.png|right|CANCEL]]CANCEL <left>, <top>, <width>, <height>
|description=:Define the size and the position of an cancel button, (there must be one of these and an [[OK|ok]] button, in every dialog).
|description=:Define the size and the position of the cancel button. There must be an [[OK|OK]] and CANCEL button on every dialog.


|param1=<left>|param1_desc={{left}}
|param1=<left>|param1_desc={{left}}
Line 12: Line 12:
===Example===
===Example===
:CANCEL 220, 137, 70, 24
:CANCEL 220, 137, 70, 24
:For an example macro see  [[Create_Contour]] [[GeoPattern_Part.dlg]] [[GeoPattern_Repeats.dlg]] [[GetCommands.dlg]] [[GetMTMData.dlg]] [[GeoSavedProcess.dlg]]
<br>
[[Category:Dialog]]
:For an example macro see  [[Create_Contour]] [[GeoPattern_Part.dlg]] [[GeoPattern_Repeats.dlg]]
:[[GetCommands.dlg]] [[GetMTMData.dlg]] [[GeoSavedProcess.dlg]] [[Category:Dialog]]

Latest revision as of 15:21, 17 January 2011

Up

Command

CANCEL
CANCEL
CANCEL <left>, <top>, <width>, <height>


Define the size and the position of the cancel button. There must be an OK and CANCEL button on every dialog.

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.

Example

CANCEL 220, 137, 70, 24


For an example macro see Create_Contour GeoPattern_Part.dlg GeoPattern_Repeats.dlg
GetCommands.dlg GetMTMData.dlg GeoSavedProcess.dlg