Page 4 of 5

Re: TChromium control - Initialization issue

Posted: Tue Aug 04, 2020 4:38 pm
by john.augustine
Sure, I will look into "TabbedBrowser2" demo.

Thanks so much!

John

Re: TChromium control - Initialization issue

Posted: Thu Aug 13, 2020 1:55 pm
by john.augustine
Hi,

Since i am implementing/replacing CEF4 (Delphi) instead of TWebBrowser.

Could you please help me to achieve the below one in CEF4 Delphi? which is in TWebBrowser.

dWebBrowser.Navigate(lResult, Flags, TargetFrameName, PostData, lAuthHeader);

Thanks,
John

Re: TChromium control - Initialization issue

Posted: Sat Aug 15, 2020 2:06 pm
by salvadordf
TWebBrowser.Navigate is similar to TChromium.LoadUrl

Please, read this document for more information about cef4delphi :
https://www.briskbard.com/index.php?lang=en&pageid=cef

Re: TChromium control - Initialization issue

Posted: Sun Aug 16, 2020 3:56 pm
by john.augustine
Sure, Thank you!

My concern is about achieving the parameters which is in TwebBrowser.

Let me check!

Thanks & Regards,
John Augustine

Re: TChromium control - Initialization issue

Posted: Tue Aug 18, 2020 2:28 pm
by john.augustine
Hi,

I need to find out the particular string in browser document. Currently code is exist with TWebBrowser and need to implement this in CEF4 Delphi. Attached is the TWebBrowser code.

Kindly help me to achieve this in CEF4 Delphi (using TChromium and CEFWindowParent)

Thanks,
John Augustine

Re: TChromium control - Initialization issue

Posted: Wed Aug 19, 2020 11:52 am
by john.augustine
Hi,

In CEF3 Delphi > Is PDF view is not possible? Will this work only in DCEF4? I am getting attached error while accessing PDF data (with DCEF3 browser).

Could you please clarify?

Thanks,
John

Re: TChromium control - Initialization issue

Posted: Thu Aug 20, 2020 10:05 am
by salvadordf
john.augustine wrote: Tue Aug 18, 2020 2:28 pm Hi,

I need to find out the particular string in browser document. Currently code is exist with TWebBrowser and need to implement this in CEF4 Delphi. Attached is the TWebBrowser code.
Use TChromium.Find. Read this for all the information about that :
viewtopic.php?f=8&t=909&p=4033&hilit=StopFinding#p4033
john.augustine wrote: Wed Aug 19, 2020 11:52 am In CEF3 Delphi > Is PDF view is not possible? Will this work only in DCEF4? I am getting attached error while accessing PDF data (with DCEF3 browser).
Could you please clarify?
Use a FILE url to open a PDF file locally or open the url directly with the MiniBrowser demo and you will see that it works :
http://africau.edu/images/default/sample.pdf

Re: TChromium control - Initialization issue

Posted: Thu Aug 20, 2020 3:06 pm
by john.augustine
Thanks so much!

John

Re: TChromium control - Initialization issue

Posted: Thu Aug 20, 2020 3:08 pm
by john.augustine
Use a FILE url to open a PDF file locally or open the url directly with the MiniBrowser demo and you will see that it works
In CEF3 > Delphi Or only in CEF4 > Delphi?

Thanks,
John

Re: TChromium control - Initialization issue

Posted: Thu Aug 20, 2020 5:04 pm
by salvadordf
All the code you need to open a local file with a FILE url is in the MiniBrowser demo. Click on the top-right button to see the menu option.