Re: [MBS] HTMLViewer.IELoadHTMLMBS

2015-10-20 Thread Michael Diehr
On Oct 20, 2015, at 3:35 AM, Christian Schmitz  
wrote:
> 
> 
>> Am 20.10.2015 um 04:30 schrieb Michael Diehr :
>> 
>> 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


[MBS] HTMLViewer.IELoadHTMLMBS

2015-10-19 Thread Michael Diehr
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)."

Do you have sample code?
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info