Unit 'ComCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TListItemStates

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

Declaration

Source position: comctrls.pp line 971

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

  

Cut this item from the list (but it can be placed on the clipboard).

TListItem.DropTarget

  

DropTarget - returns True if this is a valid target on the list for dropping.

TListItem.Focused

  

Property is true if this item has Focus.

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.