Top
PowerCOBOL V11.0 Reference
FUJITSU Software

3.31 Tab Control

Description:

The Tab control provides multiple pages on which other controls can be placed. The user switches between pages by clicking on file-folder style tabs or "latching" buttons (buttons that stay depressed to indicate an item is selected).

You can select a number of styles in the Tab control including: location of tabs, fixed or variable width tabs, and single or multiple lines of tabs.

Sample images:

Details:

Controls placed on the Tab control are at the same level as the Tab control i.e. they are referenced by their names, not as sub-controls of the Tab control. For example to set the Text property of a TextBox placed on the Tab control code:

MOVE "Bananas" TO "Text" OF TextBoxName

(NOT "Text" OF TextBoxName OF TabControlName)

Properties:

Array

Caption

ClassMajorVersion

ClassMinorVersion

ClassProgID

ClientHeight

ClientLeft

ClientTop

ClientWidth

Container

CurrentPage

Enabled

Font

Height

Index

Left

MultiLine

Name

Orientation

PageCaption

PageCount

PageTooltip
Parent

Printable

ScaleMode

ScalingStyle

Style

TabFixedHeight

TabFixedWidth

TabGroup

TabIndex

TabStop

TabWidthStyle

TooltipText

Top

Visible

Width

Methods:

Move

Refresh

SetFocus

ZOrder

Events:

BeforeClick

Click

GotFocus

KeyDown

KeyPress

KeyUp

LostFocus

MouseDown

MouseMove

MouseUp

Class ProgID name:

Fujitsu.PcobTabControl.4

Corresponding Control in PowerCOBOL V3.0 or earlier:

None