Platforms to show: All Mac Windows Linux Cross-Platform

Back to ChromiumFrameMBS class.

ChromiumFrameMBS.Browser as ChromiumBrowserMBS

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 browser that this frame belongs to.

(Read only property)

Some examples using this property:

ChromiumFrameMBS.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)

ChromiumFrameMBS.identifier as Int64

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 globally unique identifier for this frame.
Example
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
Var m as ChromiumFrameMBS = b.mainFrame
MsgBox str(m.identifier)

(Read only property)

ChromiumFrameMBS.IsFocused 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 this is the focused frame.
Example
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
Var m as ChromiumFrameMBS = b.mainFrame
MsgBox str(m.IsFocused)

(Read only property)

ChromiumFrameMBS.IsMain 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 this is the main (top-level) frame.
Example
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
Var m as ChromiumFrameMBS = b.mainFrame
MsgBox str(m.IsMain)

(Read only property)

ChromiumFrameMBS.Name as String

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 name for this frame.
Example
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
Var m as ChromiumFrameMBS = b.mainFrame
MsgBox m.Name

If the frame has an assigned name (for example, set via the iframe "name" attribute) then that value will be returned. Otherwise a unique name will be constructed based on the frame parent hierarchy. The main (top-level) frame will always have an empty name value.
(Read only property)

ChromiumFrameMBS.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)

ChromiumFrameMBS.ParentFrame 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 parent of this frame or nil if this is the main (top-level) frame.

(Read only property)

ChromiumFrameMBS.Source as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Returns this frame's HTML source as a string.
Example
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
Var f as ChromiumFrameMBS = b.MainFrame
Var s as string = f.Source
Break // view in debugger

(Read only property)

ChromiumFrameMBS.Text as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property HTMLViewer Win MBS Win Plugin 14.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Returns this frame's display text as a string.
Example
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
Var f as ChromiumFrameMBS = b.MainFrame
Var s as string = f.Text
Break // view in debugger

(Read only property)

ChromiumFrameMBS.URL as String

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 URL currently loaded in this frame.
Example
Var b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
Var f as ChromiumFrameMBS = b.MainFrame
Var s as string = f.URL
MsgBox s

(Read only property)

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


The biggest plugin in space...