https://quality.embarcadero.com/browse/RSP-39499
function TAndroidVirtualKeyboard.DefineNativeView(const AObject: TFmxObject): JView; function IsNativeControl: Boolean; begin Result := (AObject is TPresentedControl) and (TPresentedControl(AObject).ControlType = TControlType.Platform); end; //这段代码,需要改写成下面这样: function TAndroidVirtualKeyboard.DefineNativeView(const AObject: TFmxObject): JView; function IsNativeControl: Boolean; var ControlTypeSupportable: IControlTypeSupportable; begin Result := Supports(AControl, IControlTypeSupportable, ControlTypeSupportable) and (ControlTypeSupportable.ControlType = TControlType.Platform); end;
标签:function,TFmxObject,IsNativeControl,Delphi,ControlTypeSupportable,问题,11.2,AObjec From: https://www.cnblogs.com/kinglandsoft/p/16724618.html