Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.121 Font Property

Description:

Contains a pointer to the Font object associated with the control or object.

Used in controls:

CheckBox

ComboBox

CommandButton

DriveList

Edit

FileList

FolderList

Frame

GroupBox

Label

ListBox

ListView

OptionButton

ProgressIndicator

StaticText

Tab

Table

TextBox

TreeView

Used in object:

Form

Value:

The Font object contains the defining properties for the font such as name and size.

At execution time you set or refer to the font properties through the Font property.

For example, to set the font size in a StaticText control at execution time, use the following code:

MOVE 20 TO "Size" OF "Font"
OF
StaticText1

Default value:

Form

System font.

Others

Container's Font property

COBOL picture:

OBJECT REFERENCE POW-CFONT

OLE data type:

VT_DISPATCH

Design time access:

Reference only.

(The object pointer contained in the Font property, not the properties of the Font object)

Execution time access:

Reference only.

(The object pointer contained in the Font property, not the properties of the Font object)

Backward compatibility attribute:

None.