Hello everyone,
I am new to Pascal and Lazarus, I am making a simple file manager learn Lazarus. I am getting stuck on multiselection on TListView.
I have found this Delphi example.
procedure TForm1.Button1Click(Sender: TObject);
var
Item: TListItem;
begin
Item := ListView1.Selected;
while Item <> nil do
begin
ListBox1.Items.Add(Item.Caption);
Item := ListView1.GetNextItem(Item, sdAll, [isSelected]);
end;
end;
When i try to compile this ... It gives Error: Identifier not found "isSelected" and i can't figure out how to get that identifier. Can anyone give me a hint ?
Thank you !!!