0
votes

When I build my project in Delphi 10.1 Berlin, there is an error:

E2003 Undeclared identifier: 'TeeUseMouseWheel' Field

TeeUseMouseWheel works in Delphi 2006, so which property can I use instead in Delphi 10.1 Berlin?

1

1 Answers

4
votes

This solution was posted on Steema's forum:

This variable has been moved to a new property at:

Chart.Panning.MouseWheel

This new MouseWheel property is TPanMouseWheel type:

TPanMouseWheel=(pmwNormal, pmwInverted, pmwNone);

So you can do (if your chart is named Chart1):

Chart1.Panning.MouseWheel:=pmwNormal; //pmwInverted //pmwNone