In the documentation, either the one installed with Lazarus or in the
CCR (Sourceforge), although it's a little sparse ...
To get the selected item you have to traverse the list
Items and, for each TListItem, check whether its
Selected property is true. Something like:
{Untested; intended only as example!}
function GetSelected: TListItem;
var AnItem: TListItem;
begin
for AnItem in AListView.Items do
if AnItem.Selected then begin
Result := AnItem;
Break;
end;
end;