Top
PowerCOBOL V11.0 Reference
FUJITSU Software

3.15 Frame Control

Description:

The Frame control consists of a rectangular border and text. It is used for visually collecting controls (such as OptionButton controls) into a logical group.

Sample image:

Details:

The Frame control is similar to the GroupBox control; you place controls in it, but it does not become the parent of those controls. The Frame control is a peer of the controls in it. (Whereas the GroupBox control is a parent object for the controls in it.)

For example, to set the Value property for a CheckBox control within a Frame control, you code as follows:

    MOVE 1 TO "Value" OF CheckBox1.

You do NOT code:

    MOVE 1 TO "Value" OF CheckBox1 OF Frame1.

Properties:

Alignment

Appearance

Array

BackColor

BorderStyle

Caption

ClassMajorVersion

ClassMinorVersion

ClassProgID

Container

EdgeStyle

Enabled

Font

ForeColor

FrameStyle

Height

Highlight

HighlightColor

Index

Left

Name

Parent

Printable

RenderText

ScaleMode

ScalingStyle

TabGroup

TabIndex

ToolTipText

Top

Visible

Width

Methods:

Move

Refresh

ZOrder

Events:

Click

DblClick

MouseDown

MouseMove

MouseUp

Class ProgID name:

Fujitsu.PcobFrame.4

Corresponding Control in PowerCOBOL V3.0 or earlier:

GroupBox Item.