Platforms to show: All Mac Windows Linux Cross-Platform

Back to ChromiumFrameMBS class.

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
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
Execute copy in this frame.
Example
Var 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
Execute cut in this frame.
Example
Var 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
Execute delete in this frame.
Example
Var 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
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
Execute a string of JavaScript code in this frame.
Example
// go back to last page via javascript
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
Var m as ChromiumFrameMBS = b.mainFrame
m.ExecuteJavaScript "window.history.back();"

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
This item is deprecated and should no longer be used.
Load the contents of StringValue with the optional dummy target URL.
Example
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
Var m as ChromiumFrameMBS = b.mainFrame
m.LoadString "<p>Hello</p>", "blank:about"

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
Load the specified url.
Example
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
Var 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
Execute paste in this frame.
Example
Var 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
This item is deprecated and should no longer be used.
Execute printing in the this frame. The user will be prompted with the print dialog appropriate to the operating system.
Example
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
b.MainFrame.print

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
Execute redo in this frame.
Example
Var 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
Execute select all in this frame.
Example
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
Var 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
Execute undo in this frame.
Example
Var 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
Save this frame's HTML source to a temporary file and open it in the default text viewing application.
Example
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
Var m as ChromiumFrameMBS = b.mainFrame
m.ViewSource

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


The biggest plugin in space...