Platforms to show: All Mac Windows Linux Cross-Platform
Back to IEWindowMBS class.
IEWindowMBS.Alert(Message as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
IEWindowMBS.Confirm(Message as string) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Message: that specifies the message to display in the confirmation dialog box.
If no value is provided, the dialog box does not contain a message.
The title bar of the confirmation dialog box cannot be changed.
IEWindowMBS.Constructor(DesktopHTMLViewer as DesktopHTMLViewer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 22.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
For browser based on Internet Explorer on Windows.
Raises exception on failure.
See also:
IEWindowMBS.Constructor(HTMLViewer as HTMLViewer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
For browser based on Internet Explorer on Windows.
Raises exception on failure.
See also:
IEWindowMBS.ExecScript(Code as string, language as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
code: specifies the code to be executed.
language: specifies the language in which the code is executed. The language defaults to JScript.
Script executed through the execScript method can access all global variables available to the calling script. This can be useful when you want the functionality of another scripting language that would not otherwise be available in JScript, such as the Microsoft Visual Basic Scripting Edition (VBScript) MsgBox function.
IEWindowMBS.Frames as IEWindowMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 21.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
MBS Plugin will return the window objects for each frame as an array.
IEWindowMBS.MoveBy(x as integer, y as integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
x: long that specifies the horizontal scroll offset in pixels. The value can be either positive or negative.
y: long that specifies the vertical scroll offset in pixels. The value can be either positive or negative.
IEWindowMBS.MoveTo(x as integer, y as integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
x: long that specifies the horizontal scroll offset in pixels. The value can be either positive or negative.
y: long that specifies the vertical scroll offset in pixels. The value can be either positive or negative.
IEWindowMBS.Navigate(URL as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
URL: that specifies the URL to display.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Raises exception on failure.
IEWindowMBS.RunJavaScript(JavaScript as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Same as ExecScript with language JavaScript.
Raises exception on failure.
The IE API does not allow to return values from Javascript. So you need to store your result in window.title and access it later using IETitleMBS.
IERunJavaScriptMBS fails if the htmlviewer is empty. You can load a dummy page like above.
You can use JavaScriptEngineMBS class to execute JavaScript without HTMLViewer in our own cross platform JavaScript engine.
See IEDocumentMBS.Evaluate for newer version which can return result.
IEWindowMBS.Scroll(x as integer, y as integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
x: long that specifies the horizontal scroll offset, in pixels.
y: long that specifies the vertical scroll offset, in pixels.
This method is provided for backward compatibility only. The recommended way to scroll a window is to use the scrollTo method.
IEWindowMBS.ScrollBy(x as integer, y as integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
x: long that specifies the horizontal scroll offset, in pixels. Positive values scroll the window right, and negative values scroll it left.
y: long that specifies the vertical scroll offset, in pixels. Positive values scroll the window down, and negative values scroll it up.
IEWindowMBS.ScrollTo(x as integer, y as integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | HTMLViewer Win | MBS Win Plugin | 20.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
x: long that specifies the horizontal scroll offset, in pixels.
y: long that specifies the vertical scroll offset, in pixels.
The items on this page are in the following plugins: MBS Win Plugin.