OK: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 10: Line 10:
===Example===
===Example===
:OK 220, 137, 70, 24
:OK 220, 137, 70, 24
:For an example macro see  [[Create_Contour]]
:For an example macro see  [[Create_Contour]] [[GeoPattern_Part.dlg]]
[[Category:Dialog]]
[[Category:Dialog]]

Revision as of 21:19, 29 July 2010

Command

OK
OK
OK <left>, <top>, <width>, <height>


Define the size and the position of an ok button, (there must be one of these and a cancel button, in 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