ListViewItem object

A ListViewItem object is a system structure that populates a ListView control. ListViewItems have no events.

Properties

ListViewItem property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

CutHighlighted

Boolean

Specifies whether the item is the target of a cut operation. Values are:

TRUE -- The item is the target of a cut operation.

FALSE -- The item is not the target of a cut operation.

Data

Any

Assigns any user-defined data to a ListView item.

DropHighlighted

Boolean

Specifies whether the item is the target of a DragDrop operation. Values are:

TRUE -- The item is the target of a DragDrop operation.

FALSE -- The item is not the target of a DragDrop operation.

HasFocus

Boolean

Specifies whether the item has focus. Values are:

TRUE -- The item has focus.

FALSE -- The item does not have focus.

ItemX

Integer

Identifies the X location of the item relative to the upper-left corner of the control.

ItemY

Integer

Identifies the Y location of the item relative to the upper-left corner of the control.

Label

String

Identifies the string label associated with the item.

OverlayPictureIndex

Integer

Identifies the overlay picture associated with the item.

PictureIndex

Integer

Identifies the large and small picture associated with the item.

Selected

Boolean

Specifies whether the item is selected. Values are:

TRUE -- The item is selected.

FALSE -- The item is not selected.

StatePictureIndex

Integer

Identifies the state picture associated with the item.


Functions

ListViewItem function

Datatype returned

Description

ClassName

String

Returns the name assigned to the object.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent

PowerObject

Returns a reference to the parent of the object.

TypeOf

Object

Returns the type of the object.