Sign in Join
FPDoc Onlineexperiment

TCustomListView.ItemFocused property

Member of TCustomListViewpublicIn unit ComCtrls

The list item which has focus on the control.

Declaration

pascal
property ItemFocused: TListItem read GetFocused write SetFocused;

Description

ItemFocused is a ItemFocused property which contains the list that has focus on the list view control. The property value is Nil if a list item has not been focused on the control. Changing the value in the property to a valid list item causes the widgetset class to be updated when its Handle has been assigned.

ItemFocused is updated when a LVN_ITEMCHANGED notification message with a focus state change is handled for the list view control.

Use Selected to access the list item which is selected on the list view control.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.