Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.226 RenderText Property

Description:

Contains a pointer to the RenderText object that determines how the text is edited.

Used in control(s):

Controls

CheckBox

ComboBox

CommandButton

Frame

ListBox

OptionButton

StaticText

TextBox

Objects

Column

TableColumn

Value:

A pointer to the RenderText object.

The properties of the RenderText object determine how the text contained in the control or object is displayed at execution time. The RenderText properties are the RenderStyle, PictureString and DateStyle properties.

For example, if the RenderStyle property is "1 - COBOL PICTURE", the PictureString property is "$$$,$$$,$$9" and you move "3000" to the Caption property, PowerCOBOL converts the string and displays "$3,000".

However, if you refer to the Caption property, the string "$3,000" is converted by PowerCOBOL giving you the value "3000".

ComboBox

Applies to the text of items in the list box part.

Column

Applies to the Text property of the ListItem object corresponding to the column.

TableColumn

Applies to the Text property of the TableCell object corresponding to the row.

Default value:

None.

COBOL picture:

OBJECT REFERENCE POW-COBJECT

OLE data type:

VT_DISPATCH

Design time access:

Not accessible.

Execution time access:

Reference only.

Backward compatibility attribute:

None.