[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TListItemStates

Set type used to store value(s) from the TListItemState enumeration.

Declaration

Source position: comctrls.pp line 976

type TListItemStates = set of (

  lisCut,

  

The list item has its Cut property set to True.

  lisDropTarget,

  

The list item has its DropTarget property set to True.

  lisFocused,

  

The list item has its Focused property set to True.

  lisSelected

  

The list item has its Selected property set to True.

);

Description

TListItemStates is a set type used to store zero or more values from the TListItemState enumeration. TListItemStates is the type used to implement the States member in TListItem. Values are included in and excluded from the set when the corresponding properties in TListItem are changed.

See also

TListItem.Cut

  

Indicates if the list item has been cut from the list but it can be pasted to the clipboard.

TListItem.DropTarget

  

True if the list item is a highlighted drop target in the list view control.

TListItem.Focused

  

True if the list item is focused on the list view control.

TListItem.Selected

  

Whether this Item has been Selected (often denoted by a check-mark).

TListItem.StateIndex

  

Ordinal position for the image used to represent the state for the list item.


Version 3.2 Generated 2024-02-25 Home