LABEL: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=LABEL <left>, <top>, <width>, <height>, <label text> |description=*DESCRPTION* |param1=<left>|param1_desc={{left}} |param2=<top>|param2_desc={{top}} |param3=<width>|param...
 
ConnerO (talk | contribs)
No edit summary
Line 1: Line 1:
{{Command|syntax=LABEL <left>, <top>, <width>, <height>, <label text>
{{Command|syntax=[[Image:Label.png|right|DIALOG2]] LABEL <left>, <top>, <width>, <height>, <label text>
|description=*DESCRPTION*
|description=Defines the size and the position of the label and the text to be displayed inside.


|param1=<left>|param1_desc={{left}}
|param1=<left>|param1_desc={{left}}
Line 10: Line 10:


===Example===
===Example===
:- LABEL
:- LABEL 100, 40, 30, 24, "label 1"<br><br>
:A$ = "My Label"
:xpos=50
:ypos=200
:width=50
:height=25
:LABEL xpos, ypos, width, height, A$


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

Revision as of 15:56, 19 July 2010

Command

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


Defines the size and the position of the 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$