let treenode item expand when double clicked (issue #742)

git-svn-id: trunk@8378 -
This commit is contained in:
micha 2005-12-27 17:06:15 +00:00
parent e49ba83bc8
commit 7a2175a22b

View File

@ -4265,7 +4265,9 @@ begin
FDragNode:=CursorNode;
Include(fStates,tvsWaitForDragging);
end;
end;
end else
if (ssDouble in Shift) and (Button = mbLeft) then
CursorNode.Expanded := not CursorNode.Expanded;
end;
procedure TCustomTreeView.MouseMove(Shift: TShiftState; X, Y: Integer);