Top
PowerCOBOL V11.0 Reference
FUJITSU Software

3.20 ListBox Control

Description:

The ListBox control presents a list of items from which the user can select one or more items.

There are three styles:

Single Select:Only one item can be selected at a time.

Multiple Select:Several contiguous items can be selected.

Extended Select:Several contiguous and non-contiguous items can be selected.

You can also choose to include check boxes to the left of each item in the list.

Sample image:

Shows Single Select

Shows Extended Select

Properties:

Appearance

Array

BackColor

BorderStyle

ClassMajorVersion

ClassMinorVersion

ClassProgID

Container

Enabled

Font

ForeColor

Height

Highlight

HighlightColor

Index

IsCheckBtn

IsChecked

IsSelected

Left

ListCount

ListIndex

ListString

MultiSelect

Name

Parent

Printable

RenderText

ScaleMode

ScalingStyle

SelString

Sorted

TabGroup

TabIndex

TabStop

ToolTipText

Top

Visible

Width

Methods:

AddString

ClearList

DeleteString

InsertString

LoadFile

Move

Refresh

SaveFile

SetFocus

ZOrder

Events:

Click

DblClick

GotFocus

KeyDown

KeyPress

KeyUp

LostFocus

MouseDown

MouseMove

MouseUp

SelChange

Class ProgID name:

Fujitsu.PcobListBox.4

Corresponding Control in PowerCOBOL V3.0 or earlier:

ListBox Item.