LABEL: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[:Category:Dialog|{{Up}}]] | |||
{{Command|syntax=[[Image:Label.png|right|LABEL]] LABEL <left>, <top>, <width>, <height>, <label text> | {{Command|syntax=[[Image:Label.png|right|LABEL]] LABEL <left>, <top>, <width>, <height>, <label text> | ||
|description=:Define the size and the position of a label and the text to be displayed inside. | |description=:Define the size and the position of a label and the text to be displayed inside. | ||
Line 10: | Line 12: | ||
===Example=== | ===Example=== | ||
:LABEL 100, 40, 30, 24, "label 1" | :LABEL 100, 40, 30, 24, "label 1" | ||
[[Category:Dialog]] | :For an example macro see [[Create_Contour]] [[GeoPattern_Part.dlg]] [[GeoPattern_Repeats.dlg]] | ||
[[Category:Dialog]] [[GetMTMData.dlg]] [[GeoSavedProcess.dlg]] |
Latest revision as of 15:14, 17 January 2011
Command
- Define the size and the position of a label and the text to be 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.
- <label text>
- Text to be displayed.
Example
- LABEL 100, 40, 30, 24, "label 1"
- For an example macro see Create_Contour GeoPattern_Part.dlg GeoPattern_Repeats.dlg GetMTMData.dlg GeoSavedProcess.dlg