HTMLViewer methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to HTMLViewer class.

HTMLViewer.IELoadHTMLMBS(HTMLText as string) as boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 15.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
This item is deprecated and should no longer be used. You can use methods in IEDocumentMBS class instead.
Loads the HTML text into the htmlviewer.
Example
// in window open event, load blank page
HTMLViewer1.LoadURL "about:blank"

// later somewhere in app load HTML:
HTMLViewer1.IELoadHTMLMBS "<html><body>Hello World</body></html>"

Does not use a temp file like Xojo's built in method.
Returns true on success.
On Windows you may need to reset webviewer before or load "about:blank" to initialize the webviewer by Xojo (or Xojo).

Some examples using this method:

Blog Entries

The items on this page are in the following plugins: MBS Win Plugin.


💬 Ask a question or report a problem