WebBrowser in front of the Multi View delphi android menu? how to solve? Get link Facebook X Pinterest Email Other Apps - October 21, 2016 WebBrowser in front of the Multi View delphi android menu? how to solve? Get link Facebook X Pinterest Email Other Apps Comments Eli MOctober 21, 2016 at 7:05 AMhttp://stackoverflow.com/questions/31757559/multiview-android-delphi-with-twebbrowserReplyDeleteRepliesReplyfabiano Silva Bom diaOctober 21, 2016 at 7:18 AMas it does to activate TWebBrowser.MakeScreenshotReplyDeleteRepliesReplyDavid NottageOctober 21, 2016 at 4:41 PMYou 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.ReplyDeleteRepliesReplyfabiano Silva Bom diaOctober 21, 2016 at 4:47 PMDavid Nottage I didn't understand could give more detailsReplyDeleteRepliesReplyfabiano Silva Bom diaOctober 22, 2016 at 2:29 PMWhen I click on speedbutton the MultiView is normal in front of the WebBrowser. When I desliso the MultiView inWebBrowser still ahead.ReplyDeleteRepliesReplyfabiano Silva Bom diaOctober 22, 2016 at 3:55 PMsee the image example! help is welcome!https://goo.gl/E3pjfkReplyDeleteRepliesReplyfabiano Silva Bom diaOctober 22, 2016 at 4:00 PMthis 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 MultiViewReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
http://stackoverflow.com/questions/31757559/multiview-android-delphi-with-twebbrowser
ReplyDeleteas it does to activate TWebBrowser.MakeScreenshot
ReplyDeleteYou 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.
ReplyDeleteDavid Nottage I didn't understand could give more details
ReplyDeleteWhen I click on speedbutton the MultiView is normal in front of the WebBrowser. When I desliso the MultiView in
ReplyDeleteWebBrowser still ahead.
see the image example! help is welcome!
ReplyDeletehttps://goo.gl/E3pjfk
this is the code I use:
ReplyDeleteprocedure 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