OK: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
New page: {{Command|syntax=OK <left>, <top>, <width>, <height> |description=*DESCRPTION* |param1=<left>|param1_desc={{left}} |param2=<top>|param2_desc={{top}} |param3=<width>|param3_desc={{width}} ... |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|syntax=OK <left>, <top>, <width>, <height> | [[:Category:Dialog|{{Up}}]] | ||
|description= | |||
{{Command|syntax=[[Image:Ok.png|right|OK]]OK <left>, <top>, <width>, <height> | |||
|description=:Define the size and the position of the ok button. There must be an OK and a [[CANCEL|CANCEL]] button on every dialog. | |||
|param1=<left>|param1_desc={{left}} | |param1=<left>|param1_desc={{left}} | ||
Line 9: | Line 11: | ||
===Example=== | ===Example=== | ||
: | :OK 220, 137, 70, 24 | ||
<br> | |||
:For an example macro see [[Create_Contour]] [[GeoPattern_Part.dlg]] [[GeoPattern_Repeats.dlg]] | |||
[[Category:Dialog]] | [[Category:Dialog]] [[GetCommands.dlg]] [[GetMTMData.dlg]] [[GeoSavedProcess.dlg]] |
Latest revision as of 15:20, 17 January 2011
Command
- Define the size and the position of the ok button. There must be an 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