INPUT: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 11: Line 11:


===Example===
===Example===
:- INPUT 65,  017, 70, 24, w1, 10
:INPUT 65,  017, 70, 24, w1, 10
 
:For an example in a real macro see [[Create_Contour]]
[[Category:Dialog]]
[[Category:Dialog]]

Revision as of 20:51, 29 July 2010

Command

INPUT
INPUT
INPUT <left>, <top>, <width>, <height>, <variable>, [<default>]


Define the size and position of the input and the default value that is displayed inside.

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.
<variable>
Define a custom variable to be used later in the macro, for example "w1".
[<default>]
Optional default value.

Example

INPUT 65, 017, 70, 24, w1, 10
For an example in a real macro see Create_Contour