Platforms to show: All Mac Windows Linux Cross-Platform
Back to ChromiumBrowserMBS class.
ChromiumBrowserMBS.FocusedFrame as ChromiumFrameMBS
Function:
Returns the focused frame for the browser window.
Example:
Notes:
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim f as ChromiumFrameMBS = b.FocusedFrame
dim s as string = f.URL
MsgBox s
ChromiumBrowserMBS.FrameCount as Integer
Function:
Queries frame count.
Example:
Notes:
Only available in Xojo 2017 and newer.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 17.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
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
Function:
The internal object reference.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes: (Read only property)
ChromiumBrowserMBS.HasDocument as boolean
Function:
Returns true if a document has been loaded in the browser.
Example:
Notes:
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
MsgBox str(m.HasDocument)
ChromiumBrowserMBS.Height as Integer Deprecated
Function:
Queries height of the browser.
Example:
Only supported for Chromium 2.x, but not 3.x.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
MsgBox str(m.Width) + " x " + str(m.Height)
This item is deprecated and should no longer be used.
Notes:
Only supported for Chromium 2.x, but not 3.x.
(Read only property)
ChromiumBrowserMBS.Identifier as Integer
Function:
Unique identifier.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes: (Read only property)
ChromiumBrowserMBS.IsPopup as boolean
Function:
Returns true if the window is a popup window.
Example:
Notes:
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
MsgBox str(m.IsPopup)
ChromiumBrowserMBS.MainFrame as ChromiumFrameMBS
Function:
Returns the main (top-level) frame for the browser window.
Example:
Notes:
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Example:
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim f as ChromiumFrameMBS = b.MainFrame
dim s as string = f.URL
MsgBox s
ChromiumBrowserMBS.Parent as Variant
Function:
The owner htmlviewer.
Notes:
Can reference a Window or DesktopWindow object.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes:
Can reference a Window or DesktopWindow object.
(Read only property)
ChromiumBrowserMBS.PopupVisible as Boolean
Function:
Returns true if a popup is currently visible.
Example:
Notes:
Only supported for Chromium 2.x, but not 3.x.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
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
Function:
Queries width of the browser.
Example:
Only supported for Chromium 2.x, but not 3.x.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Example:
dim m as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
MsgBox str(m.Width) + " x " + str(m.Height)
This item is deprecated and should no longer be used.
Notes:
Only supported for Chromium 2.x, but not 3.x.
(Read only property)
ChromiumBrowserMBS.WindowRenderingDisabled as Boolean
Function:
Returns true if window rendering is disabled.
Notes:
Only supported for Chromium 2.x, but not 3.x.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes:
Only supported for Chromium 2.x, but not 3.x.
(Read only property)
ChromiumBrowserMBS.ZoomLevel as Double
Function:
Get/Set the zoom level.
Example:
Notes:
Change the zoom level to the specified value.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | HTMLViewer Win | MBS Win Plugin | 14.2 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
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.
