INPUT: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[: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>] | ||
|description=:Define the size and position of the input and the default value that is displayed inside. | |description=:Define the size and position of the input and the default value that is displayed inside. |
Revision as of 22:39, 30 July 2010
Command
- 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 macro see Create_Contour GeoPattern_Part.dlg GeoPattern_Repeats.dlg GetCommands.dlg GeoSavedProcess.dlg