Page 1 of 1

Unable to load page from string

Posted: Tue Jun 13, 2017 11:07 am
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.

Re: Unable to load page from string

Posted: Tue Jun 13, 2017 12:51 pm
by salvadordf
Hi,

At this moment the TChromium.LoadString function is problematic.
Use TChromium.LoadURL with a file URL or a data URL.

Re: Unable to load page from string

Posted: Tue Jun 13, 2017 5:16 pm
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.

Re: Unable to load page from string

Posted: Fri Jun 16, 2017 12:57 pm
by voltov
Wow, thanks! Gonna check it out and configure Email notifications from forum :D