Platforms to show: All Mac Windows Linux Cross-Platform

ChromiumFrameMBS.Constructor   Private
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: The private constructor.
ChromiumFrameMBS.copy
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Execute copy in this frame.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
b.MainFrame.copy
ChromiumFrameMBS.cut
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Execute cut in this frame.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
b.MainFrame.cut
ChromiumFrameMBS.delete
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Execute delete in this frame.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
b.MainFrame.delete
ChromiumFrameMBS.Destructor
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: The destructor.
ChromiumFrameMBS.ExecuteJavaScript(jsCode as string, scriptUrl as string = "", startLine as Integer = 0)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Execute a string of JavaScript code in this frame.
Example:
// go back to last page via javascript
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim m as ChromiumFrameMBS = b.mainFrame
m.ExecuteJavaScript "window.history.back();"
Notes:
The scriptUrl parameter is the URL where the script in question can be found, if any. The renderer may request this URL to show the developer the source of the error. The startLine parameter is the base line number to use for error reporting.

You can use JavaScriptEngineMBS class to execute JavaScript without HTMLViewer in our own cross platform JavaScript engine.
ChromiumFrameMBS.LoadString(StringValue as string, URL as string)   Deprecated
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Load the contents of StringValue with the optional dummy target URL.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim m as ChromiumFrameMBS = b.mainFrame
m.LoadString "<p>Hello</p>", "blank:about"
This item is deprecated and should no longer be used.
Notes: Since this was deprecated in Chromium and removed in newer function, it won't work for Xojo 2021r3 or newer. Please use data URL there or load html file URL.
ChromiumFrameMBS.LoadURL(URL as string)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Load the specified url.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim m as ChromiumFrameMBS = b.mainFrame
m.LoadURL "http://www.macrumors.com"
ChromiumFrameMBS.paste
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Execute paste in this frame.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
b.MainFrame.paste
ChromiumFrameMBS.print   Deprecated
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Execute printing in the this frame. The user will be prompted with the print dialog appropriate to the operating system.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
b.MainFrame.print
This item is deprecated and should no longer be used.
Notes: Only supported for Chromium 2.x, but not 3.x.
ChromiumFrameMBS.redo
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Execute redo in this frame.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
b.MainFrame.redo
ChromiumFrameMBS.SelectAll
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Execute select all in this frame.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim m as ChromiumFrameMBS = b.mainFrame
m.SelectAll
ChromiumFrameMBS.undo
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Execute undo in this frame.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
b.MainFrame.undo
ChromiumFrameMBS.ViewSource
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Save this frame's HTML source to a temporary file and open it in the default text viewing application.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim m as ChromiumFrameMBS = b.mainFrame
m.ViewSource

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

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat