mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 03:37:59 +01:00
TAChart: Capture mouse on tools activation
git-svn-id: trunk@24332 -
This commit is contained in:
parent
4536384988
commit
297282634f
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user