Sign in Join
FPDoc Onlineexperiment

TCustomListView.GetFirstSelected function

Member of TCustomListViewprotectedIn unit ComCtrls

Gets the first item in the list view with its Selected property set to True.

Declaration

pascal
function GetFirstSelected: TListItem

Function result

The first TListItem instance with its Selected property set to True.

Description

The return value is the TListItem instance returned from the corresponding method in the widgetset class instance.

GetFirstSelected is called when the value for the Selected property is read when both MultiSelect and OwnerData are enabled.

See also

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