Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

TChromium control - Initialization issue

john.augustine
Posts: 48
Joined: Fri Jul 10, 2020 1:33 pm

Re: TChromium control - Initialization issue

Post by john.augustine »

Sure, I will look into "TabbedBrowser2" demo.

Thanks so much!

John
john.augustine
Posts: 48
Joined: Fri Jul 10, 2020 1:33 pm

Re: TChromium control - Initialization issue

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: TChromium control - Initialization issue

Post 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
john.augustine
Posts: 48
Joined: Fri Jul 10, 2020 1:33 pm

Re: TChromium control - Initialization issue

Post by john.augustine »

Sure, Thank you!

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

Let me check!

Thanks & Regards,
John Augustine
You do not have the required permissions to view the files attached to this post.
john.augustine
Posts: 48
Joined: Fri Jul 10, 2020 1:33 pm

Re: TChromium control - Initialization issue

Post 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
You do not have the required permissions to view the files attached to this post.
john.augustine
Posts: 48
Joined: Fri Jul 10, 2020 1:33 pm

Re: TChromium control - Initialization issue

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: TChromium control - Initialization issue

Post 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
john.augustine
Posts: 48
Joined: Fri Jul 10, 2020 1:33 pm

Re: TChromium control - Initialization issue

Post by john.augustine »

Thanks so much!

John
john.augustine
Posts: 48
Joined: Fri Jul 10, 2020 1:33 pm

Re: TChromium control - Initialization issue

Post 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
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: TChromium control - Initialization issue

Post 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.
Post Reply