ChromiumFrameMBS properties

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim 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
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim 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
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim 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
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim 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
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim f as ChromiumFrameMBS = b.MainFrame
dim 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
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim f as ChromiumFrameMBS = b.MainFrame
dim 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
dim b as ChromiumBrowserMBS = HTMLViewer1.ChromiumBrowserMBS
dim f as ChromiumFrameMBS = b.MainFrame
dim s as string = f.URL
MsgBox s

(Read only property)

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


💬 Ask a question or report a problem