Sign in Join
FPDoc Onlineexperiment

TCustomListView.LastSelected property

Member of TCustomListViewpublicIn unit ComCtrls

Contains the list item that was the most recently selected item on the control.

Declaration

pascal
property LastSelected: TListItem read FSelected;

Description

LastSelected is a read-only TListItem property with the most recently selected item on the control. Its value references the internal member used for the Selected property. It is updated when a value is assigned to the Selected property, or a list item is selected using the keyboard or mouse at run-time. Setting Selected to Nil or calling ClearSelection causes LastSelected to return Nil.

See also

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