On Oct 20, 2015, at 3:35 AM, Christian Schmitz <supp...@monkeybreadsoftware.de> 
wrote:
> 
> 
>> Am 20.10.2015 um 04:30 schrieb Michael Diehr <m...@xochi.com>:
>> 
>> I'm not having any luck with HTMLViewer.IELoadHTMLMBS, testing under Windows 
>> 10 it always returns false.  
>> 
>> The documentation is a little unclear, saying "On Windows you may need to 
>> reset webviewer before or load "about:blank" to initialize the webviewer by 
>> Xojo (or Real Studio)."
> 
> first call this:
>  HTMLViewer1.LoadURL "about:blank"
> 
> than you can call this:
> 
>      if HTMLViewer1.IELoadHTMLMBS(TextArea1.Text) then
>        // ok
>      else
>        MsgBox "Failed to load html."
>      end if

My problem was trying to do both calls in the same event, it appears that you 
need to do the LoadURL call first, then do the second call later.  Otherwise it 
fails.
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to