mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 19:29:31 +02:00
cocoa: not allowing a column of TListView to be selected automatically.
git-svn-id: trunk@62532 -
This commit is contained in:
parent
35bf1396b2
commit
ef8ef84c04
@ -1024,6 +1024,7 @@ begin
|
||||
lTableLV.setDataSource(lTableLV);
|
||||
lTableLV.setDelegate(lTableLV);
|
||||
lTableLV.setAllowsColumnReordering(False);
|
||||
lTableLV.setAllowsColumnSelection(False);
|
||||
lCocoaLV.callback := lclcb;
|
||||
|
||||
ScrollViewSetBorderStyle(lCocoaLV, TCustomListView(AWinControl).BorderStyle);
|
||||
@ -1565,7 +1566,7 @@ begin
|
||||
case AProp of
|
||||
{lvpAutoArrange,}
|
||||
lvpCheckboxes: lTableLV.lclSetFirstColumCheckboxes(AIsSet);
|
||||
lvpColumnClick: lTableLV.setAllowsColumnSelection(AIsSet);
|
||||
// lvpColumnClick: lTableLV.setAllowsColumnSelection(AIsSet);
|
||||
{ lvpFlatScrollBars,
|
||||
lvpFullDrag,}
|
||||
lvpGridLines: lTableLV.setGridStyleMask(GridStyle[AIsSet]);
|
||||
|
Loading…
Reference in New Issue
Block a user