Hi
I would like to know how to stop ChartGallery Panel from responding to the mouse wheel move event when it has the focus.
It would be fine if the Panel itself scolled vertically, but what happens instead is that the data within the selected gallery chart on the panel scrolls vertically. So the lines or bars or whatever scroll up and down - something that should not happen.
You can see this effect in your demos, such as the TeeChart PRO 7...What's new demo.
I have true setting TeeUseMouseWheel to False, but that doesn't help. Anyway, I want to use TCHart and TTeeInspector on the same form.
Thanks, David
TChartGalleryPanel and MouseWheel
Hi David,
using the following code should stop the mousewheel :
using the following code should stop the mousewheel :
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
begin
With ChartGalleryPanel1 do
begin
NumCols:=2;
NumRows:=3;
TeeUseMouseWheel:=false;
CreateChartList([TLineSeries,TBarSeries,TAreaSeries,TPieSeries]);
end;
end;
Pep Jorge
http://support.steema.com
http://support.steema.com