Hi, is there a plan to integrate the ZOrderManager from Firemonkey? The reason why I ask is I would like to draw a native Panel on top of the Browser. This works with the TWebBrowser Component, but not with yours. To achieve this on MacOS I cheated a bit with your code by adding the following work around in the initialize code:
if (FWebControl <> nil) and (FWebControl.Root <> nil) and (FWebControl.Root.GetObject is TCommonCustomForm) then
begin
LForm := TCommonCustomForm(FWebControl.Root.GetObject);
LFormView := WindowHandleToPlatform(LForm.Handle).View;
if TWebControlClassHelper(FWebControl).Fill.Kind <> TTMSFNCGraphicsFillKind.gfkNone then
begin
LFormView.addSubview(FWebBrowser);
end else
begin
LContext := TNSView.Wrap(WindowHandleToPlatform(LForm.Handle).Wnd.contentView);
LContext.addSubview(FWebBrowser);
LContext.addSubview(LFormView);
end;
This sets the Form on top of the Webbrowser and allows me to render regular FMX controls over. Android and IOS should handle this using the Controltype=Platform if the Z-Order Manager is implemented. Do you know an alternative way to do this?
Christian