INPUT: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
MikeO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 1: Line 1:
[[:Category:Dialog|{{Up}}]]
[[:Category:Dialog|{{Up}}]]


{{Command|syntax=[[Image:Input.png|right|INPUT]] INPUT <left>, <top>, <width>, <height>, <variable>, [<default>]
{{Command|syntax=[[Image:Input.png|right|INPUT]] INPUT <left>, <top>, <width>, <height>, <variable>, [<default>], {<format>]
|description=:Define the size and position of an input box.
|description=:Define the size and position of an input box.


Line 10: Line 10:
|param5=<variable>|param5_desc=Variable to be set to the value of the contents of the input box.
|param5=<variable>|param5_desc=Variable to be set to the value of the contents of the input box.
|param6=[<default>] |param6_desc={{default}}
|param6=[<default>] |param6_desc={{default}}
|param7=[<format] |param7_desc={{default}}
}}
}}


===Example===
===Example===
:INPUT 65,  017, 70, 24, w1, 10
:INPUT 65,  017, 70, 24, w1, 10
:INPUT 65,  017, 70, 24, w1, v1
:INPUT 65,  017, 70, 24, w1, v1, 43p
:For an example macro see [[Create_Contour]] [[GeoPattern_Part.dlg]] [[GeoPattern_Repeats.dlg]]
:For an example macro see [[Create_Contour]] [[GeoPattern_Part.dlg]] [[GeoPattern_Repeats.dlg]]
[[Category:Dialog]] [[GetCommands.dlg]] [[GeoSavedProcess.dlg]]
[[Category:Dialog]] [[GetCommands.dlg]] [[GeoSavedProcess.dlg]]


[[Category:Dialog]]
[[Category:Dialog]]

Revision as of 15:59, 10 January 2019

Up

Command

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


Define the size and position of an input box.

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>
Variable to be set to the value of the contents of the input box.
[<default>]
Optional default value.
[<format]
Optional default value.

Example

INPUT 65, 017, 70, 24, w1, 10
INPUT 65, 017, 70, 24, w1, v1
INPUT 65, 017, 70, 24, w1, v1, 43p
For an example macro see Create_Contour GeoPattern_Part.dlg GeoPattern_Repeats.dlg GetCommands.dlg GeoSavedProcess.dlg