LABEL: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 18: Line 18:
:LABEL xpos, ypos, width, height, A$
:LABEL xpos, ypos, width, height, A$
: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]]
[[Category:Dialog]] [[GetMTMData.dlg]]

Revision as of 21:29, 29 July 2010

Command

LABEL
LABEL
LABEL <left>, <top>, <width>, <height>, <label text>


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"

A$ = "My Label"
xpos=50
ypos=200
width=50
height=25
LABEL xpos, ypos, width, height, A$
For an example macro see Create_Contour GeoPattern_Part.dlg GeoPattern_Repeats.dlg GetMTMData.dlg