Top
PowerCOBOL V11.0 Reference
FUJITSU Software

3.36 TreeView Control

Description:

The TreeView control is a special list box that enables hierarchical relationships to be displayed.

Sample image:

A TreeView control

Details

Each item in the hierarchy is defined using a Node object. First define root Node objects, then define child Node objects which can have their own children.

For example to refer to the text string of the third child node defined in the second root node:

MOVE "Text" OF "Child" (3) OF Root (2) OF
  TreeView1 TO ...

Properties:

Appearance

Array

BorderStyle

ClassMajorVersion

ClassMinorVersion

ClassProgID

Container

Count

Enabled

Font

Height

HideSelection

ImageList

IMEMode

Indentation

Index

LabelEdit

Left

Name

Parent

PathSeparator

Root

ScaleMode

ScalingStyle

SelNode

Sorted

TabGroup

TabIndex

TabStop

ToolTipText

Top

TotalCount

TVLineStyle

TVStyle

Visible

Width

Methods:

Add

Clear

Delete

Insert

Move

Refresh

SetFocus

StartEdit

ZOrder

Events:

Click

Collapse

DblClick

Edit

Expand

GotFocus

KeyDown

KeyPress

KeyUp

LostFocus

MouseDown

MouseMove

MouseUp

NodeClick

Return

Class ProgID name:

Fujitsu.PcobTreeView.4

Corresponding Control in PowerCOBOL V3.0 or earlier:

None