TAChart: Capture mouse on tools activation

git-svn-id: trunk@24332 -
This commit is contained in:
ask 2010-04-01 09:46:57 +00:00
parent 4536384988
commit 297282634f

View File

@ -1173,10 +1173,12 @@ end;
procedure TBasicChartTool.Activate;
begin
FChart.FActiveToolIndex := Index;
FChart.MouseCapture := true;
end;
procedure TBasicChartTool.Deactivate;
begin
FChart.MouseCapture := false;
FChart.FActiveToolIndex := -1;
end;