WebBrowser Control Members
See Also

Suite Pro Controls ActiveX Control v24.0
WebBrowser Control Members
Public Methods
| Method | Description |
|---|---|
AboutBox |
Displays the about box for the control. |
ExecuteScript |
Executes a command on an OLE object and returns the status of the command execution using the IOleCommandTarget interface. |
ExecWB |
A |
GoBack |
Navigates back one item in the history list. |
GoForward |
Navigates forward one item in the history list. |
GoHome |
Navigates to the current home or start page. |
GoSearch |
Navigates to the current search page. |
LoadHtml |
Navigates to a resource identified by a URL or to the file identified by a full path. |
Navigate |
Reloads the file that is currently displayed in the object. |
ReCreateProvider |
Reloads the file that is currently displayed in the object. |
Refresh |
Gets or sets an object that can be accessed by scripting code that is contained within a Web page displayed in the WebBrowser control. |
Refresh2 |
Cancels any pending navigation or download operation and stops any dynamic page elements, such as background sounds and animations. |
SetObjectForScripting |
WebBrowser control. |
SetProperty |
|
Stop |
|
WaitUntilReady |
Public Properties
| Property | Description |
|---|---|
Appearance |
Gets or sets the paint style of the control. |
Application |
Retrieves the automation object for an application that is hosting the WebBrowser Control. |
BackColor |
Gets or sets the background color of the control. |
Busy |
Boolean value indicating whether the object is engaged in a navigation or downloading operation. |
Document |
Retrieves the automation object of the active document, if any. |
Font |
Gets/Sets the font that will be used to display the text for the control. |
InnerHTML |
Gets or sets HTML text that is stored internally inside the browser control. You can load a default page this way without creating an external HTML page or navigating to a page on the internet. |
LocationName |
Retrieves the name of the resource that Microsoft® Internet Explorer is currently displaying. |
LocationURL |
Retrieves the URL of the resource that Microsoft® Internet Explorer is currently displaying. |
Offline |
Boolean value that indicates whether the object is currently operating in offline mode. |
Provider |
|
ProviderType |
|
ReadyState |
Retrieves the ready state of the object. |
ReCreateReparented |
|
RegisterAsDropTarget |
Sets or gets a value that indicates whether the object is registered as a drop target for navigation. |
ScriptErrorsSuppressed |
Gets or sets a value indicating whether the WebBrowser control displays error dialogs for script errors. |
ScrollBarStyle |
Gets or sets the scrollbar style used in the WebBrowser control. |
Silent |
Sets or retrieves a value that indicates whether the object can show dialog boxes. |
StaticText |
Gets or sets whether the page is shown as a static label (cannot select text). |
WebBrowserContextMenu |
Gets or sets whether the default Explorer Context menu will be displayed when the user right clicks in the browser control. |
Events
| Event | Description |
|---|---|
BeforeNavigate2 |
Fires before a navigation occurs in the given object (on either a window or frameset element). |
CommandStateChange |
Fires when the enabled state of a command changes. |
DocumentComplete |
Fires when a document has been completely loaded and initialized. |
DownloadBegin |
Fires when a navigation operation is beginning. |
DownloadComplete |
Fires when a navigation operation finishes, is halted, or fails. |
NavigateComplete2 |
Fires after a navigation to a link is completed on either a window or frameSet element. |
NavigateError |
Fires when an error occurs during navigation. |
NewWindow2 |
Fires when a new window is to be created. |
OnQuit |
Occurs before the Internet Explorer application quits. |
ProgressChange |
Fires when the progress of a download operation is updated on the object. |
ReCreated |
Fired to indicate the security level of the current web page contents. |
SetSecureLockIcon |
Fires when the status bar text of the object has changed. |
StatusTextChange |
Fires when the title of a document in the object becomes available or changes. |
TitleChange |
|
WebView2ContainsFullScreenElementChanged |
|
WebView2ContentLoading |
|
WebView2DocumentTitleChanged |
|
WebView2FrameNavigationCompleted |
|
WebView2FrameNavigationStarting |
|
WebView2HistoryChanged |
|
WebView2NavigationCompleted |
|
WebView2NavigationStarting |
|
WebView2NewWindowRequested |
|
WebView2PermissionRequested |
|
WebView2ProcessFailed |
|
WebView2ScriptDialogOpening |
|
WebView2SourceChanged |
|
WebView2WindowCloseRequested |
Fired when the WebBrowser is about to be closed by script. |
WindowClosing |
Fired when the host window should change its height. |
WindowSetHeight |
Fired when the host window should change its Left coordinate. |
WindowSetLeft |
Fired when the host window should allow/disallow resizing. |
WindowSetResizable |
Fired when the host window should change its Top coordinate. |
WindowSetTop |
Fired when the host window should change its width. |
WindowSetWidth |
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.


