WebBrowser in front of the Multi View delphi android menu? how to solve?


WebBrowser in front of the Multi View delphi android menu? how to solve?

Comments

  1. as it does to activate TWebBrowser.MakeScreenshot

    ReplyDelete
  2. You should call TWebBrowser.CaptureBitmap. Note that this method may have only been implemented for iOS and Android since Delphi 10 Seattle (I don't have earlier versions with me to check). It's definitely implemented in Delphi 10 Berlin.

    ReplyDelete
  3. David Nottage I didn't understand could give more details

    ReplyDelete
  4. When I click on speedbutton the MultiView is normal in front of the WebBrowser. When I desliso the MultiView in
    WebBrowser still ahead.

    ReplyDelete
  5. this is the code I use:

    procedure TForm1.MultiView1StartShowing(Sender: TObject);
    begin
    img := TImage.Create(self);
    img.Parent := Layout2;
    img.Align := TAlignLayout.AlClient;
    img.Bitmap := WebBrowser1.CaptureBitmap;
    WebBrowser1.Visible := False;


    procedure TForm1.WebBrowser1DidFinishLoad(ASender: TObject);
    begin
    img := TImage.Create(self);
    img.Parent := Layout2;
    img.Align := TAlignLayout.AlClient;
    img.Bitmap := WebBrowser1.CaptureBitmap;
    WebBrowser1.Visible := False;

    so that WebBrowser1 continues in front of the MultiView. so that WebBrowser1 continues in front of the MultiView

    ReplyDelete

Post a Comment