[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Ordinal position for the image used to represent the state for the list item.
Source position: comctrls.pp line 1080
public property TListItem.StateIndex : TImageIndex |
StateIndex is a TImageIndex property with the position for the image used to represent the state for the list item. It is the position in the StateImages for the ListView control, or -1 when a value has not been explicitly assigned to the property. Changing the property values causes the widgetset class instance for the ListView control to be updated.
StateIndex is normally updated when the ListView control changes the usage context for the list item, and uses the set type returned from the GetStates method. StateIndex values and their TListItemStates equivalents:
|
Returns all the states for the list item. |
|
|
Image list with the state images for the items on the control. |
|
|
Represents state values for items in a list view control. |
Version 3.2 | Generated 2024-02-25 | Home |