Platforms to show: All Mac Windows Linux Cross-Platform

Back to ChromiumBrowserMBS class.

ChromiumBrowserMBS.FocusedFrame as ChromiumFrameMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Returns the focused frame for the browser window.
Example
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim f as ChromiumFrameMBS = b.FocusedFrame
dim s as string = f.URL
MsgBox s

(Read only property)

ChromiumBrowserMBS.FrameCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 17.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Queries frame count.
Example
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
if b<>Nil then
MsgBox "FrameCount: "+str(b.FrameCount)
end if

Only available in Xojo 2017 and newer.
(Read only property)

ChromiumBrowserMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The internal object reference.

(Read only property)

ChromiumBrowserMBS.HasDocument as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Returns true if a document has been loaded in the browser.
Example
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
MsgBox str(m.HasDocument)

(Read only property)

ChromiumBrowserMBS.Height as Integer   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
This item is deprecated and should no longer be used.
Queries height of the browser.
Example
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
MsgBox str(m.Width) + " x " + str(m.Height)

Only supported for Chromium 2.x, but not 3.x.
(Read only property)

ChromiumBrowserMBS.Identifier as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Unique identifier.

(Read only property)

ChromiumBrowserMBS.IsPopup as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Returns true if the window is a popup window.
Example
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
MsgBox str(m.IsPopup)

(Read only property)

ChromiumBrowserMBS.MainFrame as ChromiumFrameMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Returns the main (top-level) frame for the browser window.
Example
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim f as ChromiumFrameMBS = b.MainFrame
dim s as string = f.URL
MsgBox s

(Read only property)

ChromiumBrowserMBS.Parent as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The owner htmlviewer.

Can reference a Window or DesktopWindow object.
(Read only property)

ChromiumBrowserMBS.PopupVisible as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Returns true if a popup is currently visible.
Example
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
msgbox str(m.PopupVisible)

Only supported for Chromium 2.x, but not 3.x.
(Read only property)

ChromiumBrowserMBS.Width as Integer   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
This item is deprecated and should no longer be used.
Queries width of the browser.
Example
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
MsgBox str(m.Width) + " x " + str(m.Height)

Only supported for Chromium 2.x, but not 3.x.
(Read only property)

ChromiumBrowserMBS.WindowRenderingDisabled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Returns true if window rendering is disabled.

Only supported for Chromium 2.x, but not 3.x.
(Read only property)

ChromiumBrowserMBS.ZoomLevel as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Get/Set the zoom level.
Example
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
b.ZoomLevel = 2

Change the zoom level to the specified value.
(Read and Write property)

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


The biggest plugin in space...