Platforms to show: All Mac Windows Linux Cross-Platform

ChromiumBrowserMBS.CanGoBack as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Returns true if the browser can navigate backwards.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
MsgBox str(m.CanGoBack)

Feedback, Comments & Corrections

ChromiumBrowserMBS.CanGoForward as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Returns true if the browser can navigate forwards.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
MsgBox str(m.CanGoForward)

Feedback, Comments & Corrections

ChromiumBrowserMBS.ClearFocus
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 15.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Clears focus.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.ClearFocus

Feedback, Comments & Corrections

ChromiumBrowserMBS.ClearHistory
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Clear the back/forward browsing history.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.ClearHistory
This item is deprecated and should no longer be used.
Notes: Only supported for Chromium 2.x, but not 3.x.

Feedback, Comments & Corrections

ChromiumBrowserMBS.CloseDevTools
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Explicitly close the developer tools window if one exists for this browser instance.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.CloseDevTools
This item is deprecated and should no longer be used.
Notes: Only supported for Chromium 2.x, but not 3.x.

Feedback, Comments & Corrections

ChromiumBrowserMBS.Constructor
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.

Feedback, Comments & Corrections

ChromiumBrowserMBS.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.

Feedback, Comments & Corrections

ChromiumBrowserMBS.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.4 ❌ 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
b.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.

Feedback, Comments & Corrections

ChromiumBrowserMBS.Find(identifier as Integer, searchText as string, forward as boolean, MatchCase as boolean, FindNext as boolean)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Search for searchText.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.Find 1, "Hello", true, false, false

// later
m.Find 1, "Hello", true, false, true
Notes: Identifier can be used to have multiple searches running simultaniously. forward indicates whether to search forward or backward within the page. matchCase indicates whether the search should be case-sensitive. findNext indicates whether this is the first request or a follow-up.

Feedback, Comments & Corrections

ChromiumBrowserMBS.Frame(ID as Int64) as ChromiumFrameMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 17.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Returns the frame with the specified identifier, or nil if not found.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
if b<>Nil then
dim idn() as Int64= b.FrameIdentifiers
dim ids() as string
for each n as Int64 in idn
dim f as ChromiumFrameMBS = b.Frame(n)

ids.Append str(n)+" "+f.Name
next
MsgBox "FrameIdentifiers: "+EndOfLine+EndOfLine+Join(ids, EndOfLine)
end if

See also:

Feedback, Comments & Corrections

ChromiumBrowserMBS.Frame(name as string) as ChromiumFrameMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Returns the frame with the specified name, or nil if not found.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim f as ChromiumFrameMBS = b.Frame("TopFrame")
dim s as string = f.Name
MsgBox s

See also:

Feedback, Comments & Corrections

ChromiumBrowserMBS.FrameIdentifiers as Int64()
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 17.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Queries list of frame identifiers.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
if b<>Nil then
dim idn() as Int64= b.FrameIdentifiers
dim ids() as string
for each n as Int64 in idn
dim f as ChromiumFrameMBS = b.Frame(n)

ids.Append str(n)+" "+f.Name
next
MsgBox "FrameIdentifiers: "+EndOfLine+EndOfLine+Join(ids, EndOfLine)
end if

Feedback, Comments & Corrections

ChromiumBrowserMBS.FrameNames as String()
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 17.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Queries list of frame names.
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
if b<>Nil then
dim Names() as string = b.FrameNames
MsgBox "FrameNames: "+EndOfLine+EndOfLine+Join(Names, EndOfLine)
end if
Notes: Often frames are unnamed, so named is generic.

Feedback, Comments & Corrections

ChromiumBrowserMBS.GoBack
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Navigate backwards.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.GoBack

Feedback, Comments & Corrections

ChromiumBrowserMBS.GoForward
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Navigate forwards.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.GoForward

Feedback, Comments & Corrections

ChromiumBrowserMBS.HidePopup
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Hide the currently visible popup, if any.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.HidePopup
This item is deprecated and should no longer be used.
Notes: Only supported for Chromium 2.x, but not 3.x.

Feedback, Comments & Corrections

ChromiumBrowserMBS.Image(width as Integer, height as Integer) as Picture
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Get the raw image data contained in the specified element without performing validation.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim p as picture = m.Image(600, 800)
window1.backdrop = p
This item is deprecated and should no longer be used.
Notes:
The specified width and height dimensions must match the current element size.

Only supported for Chromium 2.x, but not 3.x.

Feedback, Comments & Corrections

ChromiumBrowserMBS.invalidate(x as Integer, y as Integer, width as Integer, height as Integer)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Invalidate the rectangle region of the view.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.invalidate 0, 0, 600, 800
This item is deprecated and should no longer be used.
Notes: This function is only used when window rendering is disabled and will result in a call to HandlePaint().

Feedback, Comments & Corrections

ChromiumBrowserMBS.IsLoading as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 17.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Checks loading state.
Notes:
Returns true while page is loading.
Only available for Xojo 2017 and newer.

Feedback, Comments & Corrections

ChromiumBrowserMBS.Release
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 15.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Releases the browser object.
Notes:
You don't need this normally.
This method can be used for working around Feedback case 33565.

Feedback, Comments & Corrections

ChromiumBrowserMBS.Reload
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Reload the current page.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.Reload

Feedback, Comments & Corrections

ChromiumBrowserMBS.ReloadIgnoreCache
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Reload the current page ignoring any cached data.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.ReloadIgnoreCache

Feedback, Comments & Corrections

ChromiumBrowserMBS.Retain
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 15.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Retains the browser object.
Notes: You don't need this normally.

Feedback, Comments & Corrections

ChromiumBrowserMBS.SetFocus(enableFocus as boolean = true)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Set focus for the browser window.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.SetFocus
Notes: If enable is true focus will be set to the window. Otherwise, focus will be removed.

Feedback, Comments & Corrections

ChromiumBrowserMBS.setSize(width as Integer, height as Integer)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Set the size of the specified element.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.setSize 600, 800
This item is deprecated and should no longer be used.
Notes: Only supported for Chromium 2.x, but not 3.x.

Feedback, Comments & Corrections

ChromiumBrowserMBS.ShowDevTools
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Open developer tools in its own window.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.ShowDevTools
This item is deprecated and should no longer be used.
Notes: Only supported for Chromium 2.x, but not 3.x.

Feedback, Comments & Corrections

ChromiumBrowserMBS.StopFinding(clearSelection as boolean)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Cancel all searches that are currently going on.

Feedback, Comments & Corrections

ChromiumBrowserMBS.StopLoad
Type Topic Plugin Version macOS Windows Linux iOS Targets
method HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Stop loading the page.
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
m.StopLoad

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS FileMaker Plugins

Start Chat