Unit 'ListViewFilterEdit' Package
[Overview][Types][Classes][Index] [#lazcontrols]

TListViewFilterEdit.GetLastSelectedIndex

Gets the ordinal position for the last selected list view item.

Declaration

Source position: listviewfilteredit.pas line 57

protected function TListViewFilterEdit.GetLastSelectedIndex: Integer;

Function result

Ordinal position for the last selected list view item, or -1 when LastSelected has not been assigned.

Description

The return value is retrieved from the Index property in LastSelected (when assigned). The value is -1 if LastSelected has not been assigned.

See also

TCustomListView.LastSelected