TEXT Mnemonic - Create a Static Text Control
Syntax
'TEXT'(id,x,y,w,h,title,flags)
Description
The 'TEXT' mnemonic creates a static text control, which displays text in a window that cannot be manipulated except through program control.
Parameter |
Description |
|
id |
Control ID number. It must be an integer between 1 and 32767 and be unique within a given top-level window. |
|
x |
Horizontal position of the upper-left corner of the control in current units. |
|
y |
Vertical position of the upper-left corner of the control in current units. |
|
w |
Width of the control in current units. |
|
h |
Height of the control in current units. |
|
title |
Title of the control. Including the '&' before a character in the title causes the next item in the tab sequence to be selected. |
|
flags |
Control flags, as follows: |
|
|
Flag Description |
|
|
$0000$ |
Left justifies static text (default). |
|
$4000$ |
Centers static text. |
|
$8000$ |
Right justifies static text. |
|
$00000001$ |
Sets the control to be initially disabled. |
|
$00000010$ |
Sets the control to be initially invisible. |
|
$00000800$ |
Draws a recessed client edge around the control |
|
$00001000$ |
Draws a raised edge around the control |
|
$00010000$ |
Prevents static text control text from wrapping. |