Top
PowerCOBOL V11.0 Reference
FUJITSU Software

2.9 ListItem Object

Description:

The ListItem object contains the information relating to a line in the detail view of the ListView control, when the LVStyle property is "3 - Report".

It specifies the icon, text strings, selected status and icon appearance.

Details:

ListItem objects are referenced using the ListItems of the ListView control.

For example to get the text string of the first line, you code the following:

   MOVE "Text" OF "ListItems" (1) 
               OF ListView1 TO ...

Properties:

Ghosted

IconIndex

Numeric (ListItem)

Selected

SmallIconIndex

Text (ListItem)

Methods:

EnsureVisible

Events:

None

Corresponding Element in PowerCOBOL V3.0 or earlier:

None