Top
PowerCOBOL V11.0 Reference
FUJITSU Software

3.21 ListView Control

Description:

The ListView control displays lists of items. It offers four styles of display that can be selected:

Large icons

Small icons left to right

Small icons top to bottom

Detail view offering several columns of information.

Column objects are used to describe the columns. ListItem objects contain the data of the items to be listed.

Sample image:

ListView Detail View

Details:

Styles:

See the LVStyle property for details of the different styles.

ListItem objects contain the data for each item to be listed.

In the Detail view, Column objects are used to describe each column and ListItem objects contain the data for each row.

Properties:

Appearance

Arrange

Array

BackColor

BorderStyle

CHVisible

ClassMajorVersion

ClassMinorVersion

ClassProgID

ColumnCount

Columns

Container

Count

Enabled

Font

ForeColor

Height

HideSelection

Highlight

HighlightColor

Icons

IMEMode

Index

LabelEdit

LabelWrap

Left

ListItems

LVStyle

MultiSelect

Name

Parent

Printable

ScaleMode

ScalingStyle

SelItem

SelItemIndex

SmallIcons

SortColumn

SortKind

SortOrder

TabGroup

TabIndex

TabStop

ToolTipText

Top

Visible

Width

Methods:

Add

Clear

Delete

InsertListItem

Move

Refresh

SetFocus

StartEdit

ZOrder

Events:

Click

ColumnClick

DblClick

Edit

GotFocus

ItemClick

KeyDown

KeyPress

KeyUp

LostFocus

MouseDown

MouseMove

MouseUp

Return

Class ProgID name:

Fujitsu.PcobListView.4

Corresponding Control in PowerCOBOL V3.0 or earlier:

None