Share via


RTEXT Control (Compact 2013)

3/28/2014

This resource-definition statement creates a simple rectangle displaying right-aligned text. The text is formatted before it is displayed. Words that would extend past the end of a line are automatically wrapped to the beginning of the next line.

RTEXT text, id, x, y, width, height [[, style [[, extended-style]]]]

Parameters

  • style
    Specifies styles for the text control, which can be either WS_TABSTOP or WS_GROUP, or both.

    If you do not specify a style, the default style is SS_RIGHT | WS_GROUP.

Example

The following code example shows how to use the RTEXT statement.

RTEXT "Number of Messages", 4, 30, 50, 100, 10 

See Also

Reference

Resource-Definition Statements
CONTROL Control
CTEXT Control
DIALOG Resource
LTEXT Control