OK: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{Command|syntax=[[Image:Ok.png|right|OK]]OK <left>, <top>, <width>, <height> | {{Command|syntax=[[Image:Ok.png|right|OK]]OK <left>, <top>, <width>, <height> | ||
|description=:Define the size and the position of an ok button. There must be one oan OK and a [[CANCEL| | |description=:Define the size and the position of an ok button. There must be one oan OK and a [[CANCEL|CANCEL]] button on every dialog. | ||
|param1=<left>|param1_desc={{left}} | |param1=<left>|param1_desc={{left}} |
Revision as of 18:41, 18 August 2010
Command
- Define the size and the position of an ok button. There must be one oan OK and a 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
- OK 220, 137, 70, 24
- For an example macro see Create_Contour GeoPattern_Part.dlg GeoPattern_Repeats.dlg GetCommands.dlg GetMTMData.dlg GeoSavedProcess.dlg