在 Delphi 10.1 Berlin 中使用哪个 TChart 属性 而不是 TeeUseMouseWheel?
Which TChart property to use in Delphi 10.1 Berlin instead of TeeUseMouseWheel?
当我在 Delphi 10.1 Berlin 中构建我的项目时,出现错误:
E2003 Undeclared identifier: 'TeeUseMouseWheel' Field
TeeUseMouseWheel
在 Delphi 2006 年工作,所以我可以在 Delphi 10.1 Berlin 中使用哪个 属性?
此解决方案发布在 Steema 的 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
当我在 Delphi 10.1 Berlin 中构建我的项目时,出现错误:
E2003 Undeclared identifier: 'TeeUseMouseWheel' Field
TeeUseMouseWheel
在 Delphi 2006 年工作,所以我可以在 Delphi 10.1 Berlin 中使用哪个 属性?
此解决方案发布在 Steema 的 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