Bug in XPA 4.8.1 Browser Control and BrowserSetContent() ?


Todd Baremore
 

In 4.7.2 I can init a BLOB with File2Blb('c:\temp\mywebpage.html') and then use BrowserSetContent() to display the page in a browser control

In 4.8.1 nothing is displayed, but if I right click on the browser control and select "View Page source" the content of mywebpage.html appears.

Is this a bug?

Todd


Brendan Wheeler
 

Hi Todd,

If you put 'c:\temp\mywebpage.html' as an expression in the data field of the browser control it works.

Brendan.


Todd Baremore
 

Brendan,

Yes it does, but I need to change the content of what is displayed based upon user input.  This is done by loading the page into a BLOB and manipulating the content as needed and then evaluating BrowserSetContent() to display the updates.
Todd
On 5/25/2022 3:07 AM, Brendan Wheeler wrote:

Hi Todd,

If you put 'c:\temp\mywebpage.html' as an expression in the data field of the browser control it works. Brendan.