Returns or sets a value that determines whether the Microsoft® Internet Explorer application menu bar is visible or hidden.
Syntax
object.MenuBar [= value]
Parameters
- object
- Required. Object expression that evaluates to an object in the Applies To list.
- value
- Optional. 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.
Applies To
The WebBrowser object ignores the MenuBar property.
See Also