Occurs when the ToolBar property is changed.
Syntax
Private Sub object_OnToolBar(ByVal ToolBar As Boolean)
Parameters
- object
- An object expression that evaluates to an object in the Applies To list.
- ToolBar
- If TRUE, the toolbar is shown; if FALSE, the toolbar is hidden.
Remarks
An application hosting the WebBrowser control should respond to this event by hiding or showing the toolbar, if applicable. When using scripting in an HTML page, this event corresponds to the toolbar property passed in the window.open method.
Applies To
InternetExplorer, WebBrowser