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.

Unable to load page from string

Post Reply
voltov
Posts: 14
Joined: Tue Jun 13, 2017 11:01 am

Unable to load page from string

Post by voltov »

Hello,

I just started checking out CEF4Delphi so perhaps I'm doing something wrong or missing something.

I'm trying to display web page from a source file on hard disk. I load the page source from fie into a variable and call:
Chromium1.LoadString(vStr);

But nothing happens. I'm trying this in MiniBrowser demo. Please help.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Unable to load page from string

Post by salvadordf »

Hi,

At this moment the TChromium.LoadString function is problematic.
Use TChromium.LoadURL with a file URL or a data URL.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Unable to load page from string

Post by salvadordf »

Hi again,

I just added a new open from file menu option to the MiniBrowser demo in the menu button at the upper right corner.
Download the latest CEF4Delphi.
voltov
Posts: 14
Joined: Tue Jun 13, 2017 11:01 am

Re: Unable to load page from string

Post by voltov »

Wow, thanks! Gonna check it out and configure Email notifications from forum :D
Post Reply