共用方式為


OnToolBar event

Fires when the ToolBar property is changed.

Syntax

HTML Attribute <element OnToolBar = "handler(event)">
attachEvent Method object.attachEvent("OnToolBar", handler)

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

ToolBar [in]

Type: Boolean

A Boolean value that specifies whether the toolbar is shown.

VARIANT_TRUE (true)

Toolbar is shown.

VARIANT_FALSE (false)

Toolbar is hidden.

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.