farooksg
01-14-2001, 06:56 PM
I have a switchboard form , I made it as a startup form and cleared all the checkboxes in the properties of the startupform inculding the display menu bar also. Even after that when I open my startup form that is the switchboard form, I can still see the menu bar on the top of the application which I don't want to see.
How to hide this menu.
Any Help is appreciated
Farook
R. Hicks
01-14-2001, 08:06 PM
I hope we a talking about the same menu. Here is how to hide the default menu bar.
Place the follow code in the startup form's On Load event:
CommandBars.Item(32).Enabled = False
It should look like this:
Private Sub Form_Load()
CommandBars.Item(32).Enabled = False
End Sub
This will hide the default menu bar as the startup form loads. To see the menu again you will have to use code to set the bar back to true:
CommandBars.Item(32).Enabled = True
Or hold down your shift key during startup to bypass the startup options.
HTH
RDH