Reputation: 43
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?
Upvotes: 0
Views: 383
Reputation: 34929
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
Upvotes: 4