Class TWebBrowser

Unit

Declaration

type TWebBrowser = class(TComponent)

Description

Provides access to the Web browser functionality of Microsoft's Shell Doc Object and Control Library.

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public function GetProperty(const Property_: WideString): olevariant; unimplemented;
Public function QueryStatusWB(cmdID: OLECMDID): OLECMDF;
Public procedure ClientToWindow(var pcx: SYSINT; var pcy: SYSINT); unimplemented;
Public procedure ExecWB(cmdID: OLECMDID; cmdexecopt: OLECMDEXECOPT); overload;
Public procedure ExecWB(cmdID: OLECMDID; cmdexecopt: OLECMDEXECOPT; const pvaIn: olevariant); overload;
Public procedure ExecWB(cmdID: OLECMDID; cmdexecopt: OLECMDEXECOPT; const pvaIn: olevariant; var pvaOut: olevariant); overload;
Public procedure GoBack;
Public procedure GoForward;
Public procedure GoHome;
Public procedure GoSearch;
Public procedure Navigate(const URL: WideString); overload;
Public procedure Navigate(const URL: WideString; const Flags: olevariant); overload;
Public procedure Navigate(const URL: WideString; const Flags: olevariant; const TargetFrameName: olevariant); overload;
Public procedure Navigate(const URL: WideString; const Flags: olevariant; const TargetFrameName: olevariant; const PostData: olevariant); overload;
Public procedure Navigate(const URL: WideString; const Flags: olevariant; const TargetFrameName: olevariant; const PostData: olevariant; const Headers: olevariant); overload;
Public procedure Navigate2(const URL: WideString); overload;
Public procedure Navigate2(const URL: WideString; const Flags: olevariant); overload;
Public procedure Navigate2(const URL: WideString; const Flags: olevariant; const TargetFrameName: olevariant); overload;
Public procedure Navigate2(const URL: WideString; const Flags: olevariant; const TargetFrameName: olevariant; const PostData: olevariant); overload;
Public procedure Navigate2(const URL: WideString; const Flags: olevariant; const TargetFrameName: olevariant; const PostData: olevariant; const Headers: olevariant); overload;
Public procedure PutProperty(Property_: WideString; vtValue: olevariant); unimplemented;
Public procedure Quit; unimplemented;
Public procedure Refresh;
Public procedure Refresh2; overload;
Public procedure Refresh2(var Level: olevariant); overload;
Public procedure ShowBrowserBar(const pvaClsid: olevariant); overload; unimplemented;
Public procedure ShowBrowserBar(const pvaClsid: olevariant; const pvarShow: olevariant); overload; unimplemented;
Public procedure ShowBrowserBar(const pvaClsid: olevariant; const pvarShow: olevariant; const pvarSize: olevariant); overload; unimplemented;
Public procedure Stop;

Properties

Public property AddressBar: wordbool read Get_AddressBar write Set_AddressBar;
Public property Application: IDispatch read Get_Application;
Public property Busy: wordbool read Get_Busy;
Public property Container: IDispatch read Get_Container;
Public property Document: IDispatch read Get_Document;
Public property FullName: WideString read Get_FullName;
Public property FullScreen: wordbool read Get_FullScreen write Set_FullScreen;
Public property Height: longint read Get_Height write Set_Height;
Public property HWND: THWND read Get_HWND;
Public property Left: longint read Get_Left write Set_Left;
Public property LocationName: WideString read Get_LocationName;
Public property LocationURL: WideString read Get_LocationURL;
Public property MenuBar: wordbool read Get_MenuBar write Set_MenuBar;
Public property Name: widestring read Get_Name;
Public property Offline: wordbool read Get_Offline write Set_Offline;
Published property OnBeforeNavigate2: TWebBrowserBeforeNavigate2 read FOnBeforeNavigate2 write SetOnBeforeNavigate2;
Published property OnClientToHostWindow: TWebBrowserClientToHostWindow read FOnClientToHostWindow write SetOnClientToHostWindow;
Published property OnCommandStateChange: TWebBrowserCommandStateChange read FOnCommandStateChange write SetOnCommandStateChange;
Published property OnDocumentComplete: TWebBrowserDocumentComplete read FOnDocumentComplete write SetOnDocumentComplete;
Published property OnDownloadBegin: TNotifyEvent read FOnDownloadBegin write SetOnDownloadBegin;
Published property OnDownloadComplete: TNotifyEvent read FOnDownloadComplete write SetOnDownloadComplete;
Published property OnFullScreen: TWebBrowserOnFullScreen read FOnFullScreen write FOnFullScreen;
Published property OnMenuBar: TWebBrowserOnMenuBar read FOnMenuBar write FOnMenuBar;
Published property OnNavigateComplete2: TWebBrowserNavigateComplete2 read FOnNavigateComplete2 write SetOnNavigateComplete2;
Published property OnNavigateError: TWebBrowserNavigateError read FOnNavigateError write SetOnNavigateError;
Published property OnNewWindow2: TWebBrowserNewWindow2 read FOnNewWindow2 write SetOnNewWindow2;
Published property OnNewWindow3: TWebBrowserNewWindow3 read FOnNewWindow3 write SetOnNewWindow3;
Published property OnPrintTemplateInstantiation: TWebBrowserPrintTemplateInstantiation read FOnPrintTemplateInstantiation write SetOnPrintTemplateInstantiation;
Published property OnPrintTemplateTeardown: TWebBrowserPrintTemplateTeardown read FOnPrintTemplateTeardown write SetOnPrintTemplateTeardown;
Published property OnPrivacyImpactedStateChange: TWebBrowserPrivacyImpactedStateChange read FOnPrivacyImpactedStateChange write SetOnPrivacyImpactedStateChange;
Published property OnProgressChange: TWebBrowserProgressChange read FOnProgressChange write SetOnProgressChange;
Published property OnPropertyChange: TWebBrowserPropertyChange read FOnPropertyChange write FOnPropertyChange;
Published property OnQuit: TNotifyEvent read FOnQuit write FOnQuit;
Published property OnSetSecureLockIcon: TWebBrowserSetSecureLockIcon read FOnSetSecureLockIcon write SetOnSetSecureLockIcon;
Published property OnStatusBar: TWebBrowserOnStatusBar read FOnStatusBar write FOnStatusBar;
Published property OnStatusTextChange: TWebBrowserStatusTextChange read FOnStatusTextChange write SetOnStatusTextChange;
Published property OnTheaterMode: TWebBrowserOnTheaterMode read FOnTheaterMode write FOnTheaterMode;
Published property OnTitleChange: TWebBrowserTitleChange read FOnTitleChange write SetOnTitleChange;
Published property OnToolBar: TWebBrowserOnToolBar read FOnToolBar write FOnToolBar;
Published property OnUpdatePageStatus: TWebBrowserUpdatePageStatus read FOnUpdatePageStatus write SetOnUpdatePageStatus;
Published property OnVisible: TWebBrowserOnVisible read FOnVisible write SetOnVisible;
Published property OnWindowClosing: TWebBrowserWindowClosing read FOnWindowClosing write SetOnWindowClosing;
Published property OnWindowSetHeight: TWebBrowserWindowSetHeight read FOnWindowSetHeight write SetOnWindowSetHeight;
Published property OnWindowSetLeft: TWebBrowserWindowSetLeft read FOnWindowSetLeft write SetOnWindowSetLeft;
Published property OnWindowSetResizable: TWebBrowserWindowSetResizable read FOnWindowSetResizable write SetOnWindowSetResizable;
Published property OnWindowSetTop: TWebBrowserWindowSetTop read FOnWindowSetTop write SetOnWindowSetTop;
Published property OnWindowSetWidth: TWebBrowserWindowSetWidth read FOnWindowSetWidth write SetOnWindowSetWidth;
Public property Parent: IDispatch read Get_Parent;
Public property Path: WideString read Get_Path;
Public property ReadyState: tagREADYSTATE read Get_ReadyState;
Public property RegisterAsBrowser: wordbool read Get_RegisterAsBrowser write Set_RegisterAsBrowser;
Public property RegisterAsDropTarget: wordbool read Get_RegisterAsDropTarget write Set_RegisterAsDropTarget;
Public property Resizable: wordbool read Get_Resizable write Set_Resizable;
Public property Silent: wordbool read Get_Silent write Set_Silent;
Public property StatusBar: wordbool read Get_StatusBar write Set_StatusBar;
Public property StatusText: WideString read Get_StatusText write Set_StatusText;
Public property TheaterMode: wordbool read Get_TheaterMode write Set_TheaterMode;
Public property ToolBar: SYSINT read Get_ToolBar write Set_ToolBar;
Public property Top: longint read Get_Top write Set_Top;
Public property TopLevelContainer: wordbool read Get_TopLevelContainer;
Public property Type_: WideString read Get_Type;
Public property Visible: wordbool read Get_Visible write Set_Visible;
Public property Width: longint read Get_Width write Set_Width;

Description

Methods

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function GetProperty(const Property_: WideString): olevariant; unimplemented;

Warning: this symbol is unimplemented.

Retrieve the associated value for the given Property_ in the context of the object. Not used in TWebBrowser.

Public function QueryStatusWB(cmdID: OLECMDID): OLECMDF;

Returns information about what commands the Web browser supports.

Parameters
cmdID
specifies the command about which you want information.
See also
ExecWB
Executes a command.
Public procedure ClientToWindow(var pcx: SYSINT; var pcy: SYSINT); unimplemented;

Warning: this symbol is unimplemented.

Converts client sizes into window sizes. Not used in TWebBrowser.

Public procedure ExecWB(cmdID: OLECMDID; cmdexecopt: OLECMDEXECOPT); overload;

Overloads ExecWB.

Public procedure ExecWB(cmdID: OLECMDID; cmdexecopt: OLECMDEXECOPT; const pvaIn: olevariant); overload;

Overloads ExecWB.

Public procedure ExecWB(cmdID: OLECMDID; cmdexecopt: OLECMDEXECOPT; const pvaIn: olevariant; var pvaOut: olevariant); overload;

Executes a command.

Parameters
cmdID
the command to execute
cmdexecopt
modifies how the command is executed
pvaIn
a Variant array that contains any input arguments
pvaOut
a Variant that receives the results of the command, if any
Public procedure GoBack;

Navigates to the previous item in the history list. GoBack has no effect unless the history list contains additional documents.

Note
The Navigate or Navigate2 method can change the history list, depending on the specified flags.

Public procedure GoForward;

Navigates to the next item in the history list. GoForward reverses the effect of the last call to GoBack.

Public procedure GoHome;

Navigates to the current start page. The URL of the start page is specified in the Registry at HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main under the name "Start Page".

Public procedure GoSearch;

Navigates to the current search page. The URL of the search page is specified in the Registry at HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main under the name "Search Page".

Public procedure Navigate(const URL: WideString); overload;

Overloads Navigate.

Public procedure Navigate(const URL: WideString; const Flags: olevariant); overload;

Overloads Navigate.

Public procedure Navigate(const URL: WideString; const Flags: olevariant; const TargetFrameName: olevariant); overload;

Overloads Navigate.

Public procedure Navigate(const URL: WideString; const Flags: olevariant; const TargetFrameName: olevariant; const PostData: olevariant); overload;

Overloads Navigate.

Public procedure Navigate(const URL: WideString; const Flags: olevariant; const TargetFrameName: olevariant; const PostData: olevariant; const Headers: olevariant); overload;

Navigates to a resource identified by a path name or URL.

Note
To navigate to a location that can't be expressed as an URL (for example, to an item identifier list), use the Navigate2 method instead.

Parameters
URL
the UNC path name of a file or the Uniform Resource Locator of an Internet resource
Flags
the sum of zero or more BrowserNavConstants that specify whether to add the resource to the history list (navNoHistory), whether to read from or write to the cache (navNoReadFromCache, navNoWriteToCache), and whether to display the resource in a new window (navOpenInNewWindow)
TargetFrameName
the name of the frame in which the resource will be displayed, or nil if the resource should not be displayed in a named frame
PostData
contains the data sent to the server when using Navigate to generate an HTTP POST message. If nil, Navigate generates an HTTP GET message; ignored if the URL parameter does not specify an HTTP URL
Headers
contains any headers sent to the servers when the URL represents an HTTP URL
Public procedure Navigate2(const URL: WideString); overload;

Overloads Navigate2.

Public procedure Navigate2(const URL: WideString; const Flags: olevariant); overload;

Overloads Navigate2.

Public procedure Navigate2(const URL: WideString; const Flags: olevariant; const TargetFrameName: olevariant); overload;

Overloads Navigate2.

Public procedure Navigate2(const URL: WideString; const Flags: olevariant; const TargetFrameName: olevariant; const PostData: olevariant); overload;

Overloads Navigate2.

Public procedure Navigate2(const URL: WideString; const Flags: olevariant; const TargetFrameName: olevariant; const PostData: olevariant; const Headers: olevariant); overload;

Navigates to a resource identified by a path name or URL.

Parameters
URL
the UNC path name of a file or the Uniform Resource Locator of an Internet resource
Flags
the sum of zero or more BrowserNavConstants that specify whether to add the resource to the history list (navNoHistory), whether to read from or write to the cache (navNoReadFromCache, navNoWriteToCache), and whether to display the resource in a new window (navOpenInNewWindow)
TargetFrameName
the name of the frame in which the resource will be displayed, or nil if the resource should not be displayed in a named frame
PostData
contains the data sent to the server when using Navigate2 to generate an HTTP POST message. If nil, Navigate2 generates an HTTP GET message; ignored if the URL parameter does not specify an HTTP URL
Headers
contains any headers sent to the servers when the URL represents an HTTP URL
Public procedure PutProperty(Property_: WideString; vtValue: olevariant); unimplemented;

Warning: this symbol is unimplemented.

Associates vtValue with the given Property_ name in the context of the object. Not used in TWebBrowser.

Public procedure Quit; unimplemented;

Warning: this symbol is unimplemented.

Exits application and closes the open document. Not used in TWebBrowser.

Public procedure Refresh;

Reloads the current document.

Public procedure Refresh2; overload;

Reloads the current document as if Refresh had been called.

Public procedure Refresh2(var Level: olevariant); overload;

Reloads the current document if necessary.

Parameters
Level
indicates what type of information is refreshed
See also
RefreshConstants
The type of the Level parameter in the Refresh2 method.
Public procedure ShowBrowserBar(const pvaClsid: olevariant); overload; unimplemented;

Warning: this symbol is unimplemented.

Overloads ShowBrowserBar.

Public procedure ShowBrowserBar(const pvaClsid: olevariant; const pvarShow: olevariant); overload; unimplemented;

Warning: this symbol is unimplemented.

Overloads ShowBrowserBar.

Public procedure ShowBrowserBar(const pvaClsid: olevariant; const pvarShow: olevariant; const pvarSize: olevariant); overload; unimplemented;

Warning: this symbol is unimplemented.

Show or hide a specified browser bar. Not used in TWebBrowser.

Public procedure Stop;

Stops the current operation. Cancels any pending navigation or download operation and terminates any dynamic page elements, such as background sounds and animations.

Properties

Public property AddressBar: wordbool read Get_AddressBar write Set_AddressBar;

Controls whether address bar is shown.

Public property Application: IDispatch read Get_Application;

Returns the application automation object, if accessible; otherwise returns this automation object.

Public property Busy: wordbool read Get_Busy;

Query to see if something is still in progress.

Public property Container: IDispatch read Get_Container;

Returns the container/parent automation object, if any.

Public property Document: IDispatch read Get_Document;

Returns the active Document automation object, if any.

Public property FullName: WideString read Get_FullName;

Returns file specification of the application, including path.

Public property FullScreen: wordbool read Get_FullScreen write Set_FullScreen;

Maximizes window and turns off status bar, toolbar, menu bar, and title bar.

Public property Height: longint read Get_Height write Set_Height;

The vertical dimension (pixels) of the frame window/object.

Public property HWND: THWND read Get_HWND;

Returns the handle of the current IE window.

Public property Left: longint read Get_Left write Set_Left;

The horizontal position (pixels) of the frame window relative to the screen/container.

Public property LocationName: WideString read Get_LocationName;

Gets the short (UI-friendly) name of the URL/file currently viewed.

Public property LocationURL: WideString read Get_LocationURL;

Gets the full URL/path currently viewed.

Public property MenuBar: wordbool read Get_MenuBar write Set_MenuBar;

Controls whether menu bar is shown.

Public property Name: widestring read Get_Name;

Returns the name of the application.

Public property Offline: wordbool read Get_Offline write Set_Offline;

Controls if the frame is offline (and reading from cache).

Published property OnBeforeNavigate2: TWebBrowserBeforeNavigate2 read FOnBeforeNavigate2 write SetOnBeforeNavigate2;

Event raised immediately before the Web browser navigates to a new resource. Handle this event to redirect or cancel a change to a different URL. This event may occur as the result of a call to the Navigate or Navigate2 method, or the user clicking a link.

Published property OnClientToHostWindow: TWebBrowserClientToHostWindow read FOnClientToHostWindow write SetOnClientToHostWindow;

This item has no description.

See also
TWebBrowserClientToHostWindow
Event handler triggered to request client sizes be converted to host window sizes.
Published property OnCommandStateChange: TWebBrowserCommandStateChange read FOnCommandStateChange write SetOnCommandStateChange;

Event raised when the ability to execute certain TWebBrowser methods changes. Handle this event to update any controls in the application whose state depends on the ability to execute the Web browser's methods.

Published property OnDocumentComplete: TWebBrowserDocumentComplete read FOnDocumentComplete write SetOnDocumentComplete;

Event raised when the document being navigated to reaches READYSTATE_COMPLETE. Handle this event to take specific action when a frame or document is fully loaded into the Web browser. For a document without frames, this event occurs once when the document finishes loading. For a document containing multiple frames, this event occurs once for each frame. When the multiple-frame document finishes loading, the Web browser fires the event one final time.

Published property OnDownloadBegin: TNotifyEvent read FOnDownloadBegin write SetOnDownloadBegin;

Event raised when the Web browser starts downloading a document. Handle this event to take specific action after the Web browser has located a document and immediately before it starts downloading the document. For example, use the OnDownloadBegin event to launch an animation control such as a download progress bar that is updated by the OnProgressChange event handler. The control can then be stopped in the OnDownloadComplete event handler.

Note
To take specific action when the Web browser looks up the resource, rather than when it begins downloading, handle the OnBeforeNavigate2 event. OnDownloadBegin occurs shortly after OnBeforeNavigate2.

Published property OnDownloadComplete: TNotifyEvent read FOnDownloadComplete write SetOnDownloadComplete;

Event raised when a navigation operation finishes, is halted, or fails. Handle this event to take specific action after the Web browser stops a downloading operation. For example, use OnDownloadComplete to stop a download indication that was started by a handler for OnDownloadBegin.

Note
Unlike the OnNavigateComplete2 event, OnDownloadComplete occurs even if the operation is not successful.

Published property OnFullScreen: TWebBrowserOnFullScreen read FOnFullScreen write FOnFullScreen;

Not used in TWebBrowser.

Warning
Do not use this event. OnFullScreen is handled by Internet Explorer when the application is maximized or restored from a maximized state.

Published property OnMenuBar: TWebBrowserOnMenuBar read FOnMenuBar write FOnMenuBar;

Not used in TWebBrowser.

Warning
Do not use this event. OnMenuBar is handled by Internet Explorer when the menu bar is hidden or shown.

Published property OnNavigateComplete2: TWebBrowserNavigateComplete2 read FOnNavigateComplete2 write SetOnNavigateComplete2;

Event raised immediately after the Web browser successfully navigates to a new location. Handle this event to take specific action when the Web browser successfully navigates to a new resource. The event can occur before the document is fully downloaded, but when it occurs at least part of the document must be received and a viewer for the document created.

Note
Unlike the OnDownloadComplete event, OnNavigateComplete2 does not occur if the operation is not successful.

Published property OnNavigateError: TWebBrowserNavigateError read FOnNavigateError write SetOnNavigateError;

This item has no description.

See also
TWebBrowserNavigateError
Event handler triggered when a binding error occurs (window or frameset element).
Published property OnNewWindow2: TWebBrowserNewWindow2 read FOnNewWindow2 write SetOnNewWindow2;

Event raised when a new, hidden, non-navigated Web browser window is needed. Handle this event to take specific action immediately before the Web browser creates a new window for displaying a resource. This window may be needed because the user shift-clicked on a link, the user right-clicked on a link and chose "open in new window", the frame for the target URL does not yet exist, or else Navigate or Navigate2 was called with navOpenInNewWindow.

Published property OnNewWindow3: TWebBrowserNewWindow3 read FOnNewWindow3 write SetOnNewWindow3;

This item has no description.

See also
OnNewWindow2
Event raised when a new, hidden, non-navigated Web browser window is needed.
Published property OnPrintTemplateInstantiation: TWebBrowserPrintTemplateInstantiation read FOnPrintTemplateInstantiation write SetOnPrintTemplateInstantiation;

This item has no description.

See also
TWebBrowserPrintTemplateInstantiation
Event handler triggered when a print template is instantiated.
Published property OnPrintTemplateTeardown: TWebBrowserPrintTemplateTeardown read FOnPrintTemplateTeardown write SetOnPrintTemplateTeardown;

This item has no description.

See also
TWebBrowserPrintTemplateTeardown
Event handler triggered when a print template is destroyed.
Published property OnPrivacyImpactedStateChange: TWebBrowserPrivacyImpactedStateChange read FOnPrivacyImpactedStateChange write SetOnPrivacyImpactedStateChange;

This item has no description.

See also
TWebBrowserPrivacyImpactedStateChange
Event handler triggered when the global privacy impacted state changes.
Published property OnProgressChange: TWebBrowserProgressChange read FOnProgressChange write SetOnProgressChange;

Event raised when the progress of a download operation is updated. Handle this event to provide visual feedback about the download process. For example, a handler can update a TProgressBar component or display the number of bytes downloaded so far.

Published property OnPropertyChange: TWebBrowserPropertyChange read FOnPropertyChange write FOnPropertyChange;

Not used in TWebBrowser.

Warning
Do not use this event. OnPropertyChange is handled by Internet Explorer when a property is modified using the PutProperty method.

Published property OnQuit: TNotifyEvent read FOnQuit write FOnQuit;

Not used in TWebBrowser.

Warning
Do not use this event. OnQuit is handled by Internet Explorer when the browser window is about to shut down.

Published property OnSetSecureLockIcon: TWebBrowserSetSecureLockIcon read FOnSetSecureLockIcon write SetOnSetSecureLockIcon;

This item has no description.

See also
TWebBrowserSetSecureLockIcon
Event handler triggered to indicate the security level of the current web page contents.
Published property OnStatusBar: TWebBrowserOnStatusBar read FOnStatusBar write FOnStatusBar;

Not used in TWebBrowser.

Warning
Do not use this event. OnStatusBar is handled by Internet Explorer when the status bar is shown or hidden for the first time.

Published property OnStatusTextChange: TWebBrowserStatusTextChange read FOnStatusTextChange write SetOnStatusTextChange;

Event raised when the text displayed in Internet Explorer's status bar changes.

See also
TWebBrowserStatusTextChange
Event handler triggered when status bar text has changed.
Published property OnTheaterMode: TWebBrowserOnTheaterMode read FOnTheaterMode write FOnTheaterMode;

Not used in TWebBrowser.

Warning
Do not use this event. OnTheaterMode is handled by Internet Explorer when the borwser window changes into or out of theater mode.

Published property OnTitleChange: TWebBrowserTitleChange read FOnTitleChange write SetOnTitleChange;

Event raised when the title of a document in the Web Browser control becomes available or changes. Handle this event to respond when the Web browser obtains information about the document title. Because the title can change while an HTML page is downloading, LocationName is originally set to the URL of the document. After the title specified in the HTML page, if any, becomes available, LocationName is changed to reflect the actual title.

Published property OnToolBar: TWebBrowserOnToolBar read FOnToolBar write FOnToolBar;

Not used in TWebBrowser.

Warning
Do not use this event. OnToolBar is handled internally when Internet Explorer changes which toolbars are visible.

Published property OnUpdatePageStatus: TWebBrowserUpdatePageStatus read FOnUpdatePageStatus write SetOnUpdatePageStatus;

Event raised when there is an update on the status of the page that is being navigated with the Web browser.

See also
TWebBrowserUpdatePageStatus
Event handler triggered when a page is spooled; can be changed by a custom template when handled.
Published property OnVisible: TWebBrowserOnVisible read FOnVisible write SetOnVisible;

Event raised when the Web browser window is about to be shown or hidden. Handle this event to compensate for the appearance or disappearance of the Web browser window.

Published property OnWindowClosing: TWebBrowserWindowClosing read FOnWindowClosing write SetOnWindowClosing;

This item has no description.

See also
TWebBrowserWindowClosing
Event handler triggered when the Web browser is about to be closed by a script.
Published property OnWindowSetHeight: TWebBrowserWindowSetHeight read FOnWindowSetHeight write SetOnWindowSetHeight;

This item has no description.

See also
TWebBrowserWindowSetHeight
Event handler triggered when the host window should change its height.
Published property OnWindowSetLeft: TWebBrowserWindowSetLeft read FOnWindowSetLeft write SetOnWindowSetLeft;

This item has no description.

See also
TWebBrowserWindowSetLeft
Event handler triggered when the host window should change its left coordinate.
Published property OnWindowSetResizable: TWebBrowserWindowSetResizable read FOnWindowSetResizable write SetOnWindowSetResizable;

This item has no description.

See also
TWebBrowserWindowSetResizable
Event handler triggered when the host window should allow/disallow resizing.
Published property OnWindowSetTop: TWebBrowserWindowSetTop read FOnWindowSetTop write SetOnWindowSetTop;

This item has no description.

See also
TWebBrowserWindowSetTop
Event handler triggered when the host window should change its top coordinate.
Published property OnWindowSetWidth: TWebBrowserWindowSetWidth read FOnWindowSetWidth write SetOnWindowSetWidth;

This item has no description.

See also
TWebBrowserWindowSetWidth
Event handler triggered when the host window should change its width.
Public property Parent: IDispatch read Get_Parent;

Returns the automation object of the container/parent, if one exists; otherwise returns this automation object.

Public property Path: WideString read Get_Path;

Returns the path to the application.

Public property ReadyState: tagREADYSTATE read Get_ReadyState;

Gets a value indicating the IE window's current state.

Public property RegisterAsBrowser: wordbool read Get_RegisterAsBrowser write Set_RegisterAsBrowser;

Registers an optional component as a top-level browser (for target name resolution).

Public property RegisterAsDropTarget: wordbool read Get_RegisterAsDropTarget write Set_RegisterAsDropTarget;

Registers an optional component as a drop target for navigation.

Public property Resizable: wordbool read Get_Resizable write Set_Resizable;

Controls whether the window can be resized.

Public property Silent: wordbool read Get_Silent write Set_Silent;

Controls if any dialog boxes can be shown.

Public property StatusBar: wordbool read Get_StatusBar write Set_StatusBar;

Turns the status bar on or off.

Public property StatusText: WideString read Get_StatusText write Set_StatusText;

Text of the status window.

Public property TheaterMode: wordbool read Get_TheaterMode write Set_TheaterMode;

Controls if the browser is in theater mode.

Public property ToolBar: SYSINT read Get_ToolBar write Set_ToolBar;

Controls which toolbar is shown.

Public property Top: longint read Get_Top write Set_Top;

The vertical position (pixels) of the frame window relative to the screen/container.

Public property TopLevelContainer: wordbool read Get_TopLevelContainer;

Returns true if this is the top level object.

Public property Type_: WideString read Get_Type;

Returns the type of the contained document object.

Public property Visible: wordbool read Get_Visible write Set_Visible;

Determines whether the application is visible or hidden.

Public property Width: longint read Get_Width write Set_Width;

The horizontal dimension (pixels) of the frame window/object.