From 297282634fbdc29982c584579fcfad419abf7e15 Mon Sep 17 00:00:00 2001 From: ask Date: Thu, 1 Apr 2010 09:46:57 +0000 Subject: [PATCH] TAChart: Capture mouse on tools activation git-svn-id: trunk@24332 - --- components/tachart/tagraph.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/tachart/tagraph.pas b/components/tachart/tagraph.pas index f937e6701e..a9ca7cf94f 100644 --- a/components/tachart/tagraph.pas +++ b/components/tachart/tagraph.pas @@ -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;