View Issue Details

IDProjectCategoryView StatusLast Update
0037103LazarusWidgetsetpublic2020-08-01 23:41
Reporterhan Assigned ToDmitry Boyarintsev  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
OSMac 
Product Version2.0.8 
Summary0037103: Listview1.SelectAll doesn't work in Cocoa
DescriptionThe 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
TagsNo tags attached.
Fixed in Revision63183
LazTarget-
WidgetsetCocoa
Attached Files

Activities

Dmitry Boyarintsev

2020-05-18 13:48

developer   ~0122901

please test and close if ok

han

2020-08-01 23:39

reporter   ~0124474

Thanks. It works in the latest trunk. Unfortunately not in Lazarus 2.0.10

han

2020-08-01 23:41

reporter   ~0124475

Works in the latest trunk

Issue History

Date Modified Username Field Change
2020-05-18 10:51 han New Issue
2020-05-18 13:48 Dmitry Boyarintsev Assigned To => Dmitry Boyarintsev
2020-05-18 13:48 Dmitry Boyarintsev Status new => resolved
2020-05-18 13:48 Dmitry Boyarintsev Resolution open => fixed
2020-05-18 13:48 Dmitry Boyarintsev Fixed in Revision => 63183
2020-05-18 13:48 Dmitry Boyarintsev LazTarget => -
2020-05-18 13:48 Dmitry Boyarintsev Widgetset Cocoa => Cocoa
2020-05-18 13:48 Dmitry Boyarintsev Note Added: 0122901
2020-08-01 23:39 han Note Added: 0124474
2020-08-01 23:41 han Status resolved => closed
2020-08-01 23:41 han Note Added: 0124475