Listview1.SelectAll doesn't work in Cocoa
Original Reporter info from Mantis: HK59 @han.k
-
Reporter name: han
Original Reporter info from Mantis: HK59 @han.k
- Reporter name: han
Description:
The method
[code]
Listview1.SelectAll
[/code]
doesn't work in Cocoa. It works in Windows and Linux.
I also tried:
[code]
procedure select_all(tt :tlistview);
var
i:integer;
begin
tt.Items.BeginUpdate;
for i := 0 to tt.Items.Count-1 do tt.Items[i].Selected:=true;
tt.Items.EndUpdate;
tt.setfocus;{set focus for next ctrl-C. Somehow it is lost}
end;
[/code]
Confirmed by one other user. See
https://forum.lazarus.freepascal.org/index.php/topic,49857.0.html