Guides & Tutorials (beta)

Hiding the ActiveMenuBar (Menu at the Top)

by Mike Palmatier Visual Basic 6 Created on 02/02/2008  |  Updated on 07/30/2024 0/5 ( 0 votes )

The ActiveMenuBar is the only CommandBar that is displayed by default, even if no items are added. There might be times when only toolbars are needed, in these cases the ActiveMenuBar can be hidden. The CommandBars contains a separate property to gain easy access to the ActiveMenuBar. The property is CommandBars.ActiveMenuBar and it can be used to access and modify the ActiveMenuBar. To hide the ActiveMenuBar you simply set the Visible property to False.

Active Menu Bar

The code below will hide the ActiveMenuBar.

CommandBars.ActiveMenuBar.Visible = False
'OR
CommandBars(1).Visible = False

User Comments

No comments yet, sign in to comment.

Secure Transactions

Online transactions are secure and protected.


Ssl seal 1
This site is protected by Trustwave's Trusted Commerce program
CompliAssure Secured

Money Back Guarantee

If you are not 100% happy with your purchase within 30 days, you can return it for any reason. Your satisfaction is our priority!


Satisfication Guaranteed

Contact sales@codejock.com for more details.