Purpose
Part of a Dialog statement; adds a label to a dialog box.
Syntax
Control StaticText
[ Position x, y ]
[ Width w ] [ Height h ]
[ ID control_ID ]
[ Title title_string ]
[ Hide ]
x, y specifies the control's position, in dialog box units.
w specifies the control's width, in dialog box units.
h specifies the control's height, in dialog box units.
control_ID is an integer; cannot be the same as the ID of another control in the dialog box.
title_string is a text string to appear in the dialog box as a label.
The Hide keyword makes the control hidden initially.
Description
If you want the text string to wrap down onto multiple lines, include the optional Width and Height clauses. If you omit the Width and Height clauses, the static text control shows only one line of text.
Example
Control StaticText
Title "Enter map title:"
Position 5, 10
See Also: