Error Edge/ddl present

At application startup (form create) there is a way to bypass and handle the error message and hide the map if ddl or edge are not present or installed so you can use the application?

Thanks

Hi,

You can use the EdgeLoaded flag available in *.TMSFNCWebBrowser.Win.pas unit and switch to create the browser programmatically instead.

Can you create me a small sample of how to implement this functionality?

Thanks

image001.gif

uses
  FMX.TMSFNCWebBrowser.Win;

procedure TForm1.FormCreate(Sender: TObject);
var
  w: TTMSFNCWebBrowser;
begin
  if EdgeLoaded then
  begin
    w := TTMSFNCWebBrowser.Create(Self);
    w.Parent := Self;
  end;
end;

Thanks, il works fine for FNCWebBrowser.

But for the map it only works if also the map is created at runtime after check then EdgeLoaded value, but so you can't set properties and events at design-time.

It would be preferable, for the end-user of the application, see time at run-time the messages displayed on then map at design, in order to make the interface consistent and avoid also the series msgbox with error messages when starting the application.

Regards

image001.gif

Hi,

We'll take not of this and see what is possible. Thanks for the feedback.