我尝试使用XE10.1 Berlin为 XE10 Seattle 编译来自 TeeChart 9 的文件 FMXTee.Import.pas并得到错误: [dcc32 Error] FMXTee.Import.pas(894): E2003 Undeclared identifier: 'Grid' at the following syntax (在文件 FMXTee.Import.pas) 中:
result := .....
{$IFDEF FMX}
(AComponent is TImageControl) or
((AComponent is TColumn) and (TColumnAccess(AComponent).Grid<>nil) and (TColumnAccess(AComponent).Grid is TStringGrid)) or
(AComponent is TTextControl)
{$ELSE}
(AComponent is TControl)
{$ENDIF};
我认为因为来自 XE10 西雅图包的文件 FMX.Grid.pas 与来自 X10.1 柏林包的 FMX.Grid.pas完全不同,所以我没有找到TColumnAccess类的Grid属性。
现在,如何解决这个错误?请帮我。非常感谢。