Skip to content

Commit 84bb428

Browse files
committed
Fixed issue #1314: Make fixed columns non-draggable
1 parent 8afd48e commit 84bb428

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/VirtualTrees.Header.pas

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3243,6 +3243,8 @@ procedure TVirtualTreeColumn.SetOptions(Value : TVTColumnOptions);
32433243
ToBeSet := Value - FOptions;
32443244

32453245
FOptions := Value;
3246+
if coFixed in ToBeSet then
3247+
FOptions := FOptions - [coDraggable]; // issue #1314
32463248

32473249
VisibleChanged := coVisible in (ToBeSet + ToBeCleared);
32483250
lParentColorSet := coParentColor in ToBeSet;

0 commit comments

Comments
 (0)