OnToolBar Event

Fires when the ToolBar property is changed.

Syntax

  Private Sub object_OnToolBar( _
  ByVal ToolBar As Boolean)

Parameters

  • ToolBar
    A Boolean value that specifies whether the toolbar is shown.

    • true
      Toolbar is shown.
    • false
      Toolbar is hidden.

Error Codes

No return value.

Remarks

The WebBrowser object ignores this event.

When using scripting in an HTML page, this event corresponds to the ToolBar property passed in the window.open method.

Applies To

InternetExplorer