MenuBar PropertyMenuBar Property*
*Contents  *Index  *Topic Contents
*Previous Topic: LocationURL Property
*Next Topic: Name Property

MenuBar Property

Description

Returns or sets a value that determines whether the Internet Explorer application menu bar is visible or hidden.

Syntax

object.MenuBar [= value]

PartDescription
objectRequired. An object expression that evaluates to an object in the Applies To list.
valueOptional. A Boolean expression that determines whether the menu bar is visible. If TRUE, the menu bar is visible; if FALSE, it is hidden. The default value is TRUE.

Remarks

Setting this property to FALSE prevents the user from accessing the File, Edit, View, Go, Favorites, and Help menus. This can be used for limiting the functionality of an Internet Explorer application from a controlling application.

Remarks

The WebBrowser object ignores the MenuBar property.

Applies To

InternetExplorer, WebBrowser


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.