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 |
||
Line 1: | Line 1: | ||
{{Command|syntax=OK <left>, <top>, <width>, <height> | {{Command|syntax=[[Image:Ok.png|right|OK]]OK <left>, <top>, <width>, <height> | ||
|description= | |description=:Define the size and the position of an ok button, (there must be one of these and a [[CANCEL|cancel]] button, in every dialog). | ||
|param1=<left>|param1_desc={{left}} | |param1=<left>|param1_desc={{left}} | ||
Line 9: | Line 9: | ||
===Example=== | ===Example=== | ||
: | :OK 220, 137, 70, 24 | ||
[[Category:Dialog]] | [[Category:Dialog]] |
Revision as of 17:40, 19 July 2010
Command
- 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