Can you dock a menubar in a form?

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

Is thre a way to attach a menu bar to a form? If so, how would you go about
doing this?

Thanks in advance,

Paul
 
I should have also mentioned that I realize you can select the name of the
Menu Bar in the form's Menu Bar property, but I've tried this and it
doesn't dock the menu bar in the form.

I'm trying to embed the menu bar into the form itself, so it remains fixed
at a certain location on the form.

The reason I can't just use drop boxes for the menus is that I need
cascading menus, like you can build on a menu bar. Combo boxes (at least in
Access 2003) don't offer this feature.

Is there a way to lock the Menu Bar onto the form?

Paul
 
I should have also mentioned that I realize you can select the name of
the Menu Bar in the form's Menu Bar property, but I've tried this and
it doesn't dock the menu bar in the form.

I'm trying to embed the menu bar into the form itself, so it remains
fixed at a certain location on the form.

The reason I can't just use drop boxes for the menus is that I need
cascading menus, like you can build on a menu bar. Combo boxes (at
least in Access 2003) don't offer this feature.

Is there a way to lock the Menu Bar onto the form?

Paul

Normal menus and toolbars cannot be docked within a form, but you can
have an object that when clicked displays a popup menu. These are
normally displayed by right-clicking, but from code they can be displayed
in a click event.

The popup menu can have have the cascading menus you desire and using
this technique in the click event of a label set up to look like a menu
item you can build what looks and acts very much like a menu bar that is
embedded in your form.
 
I've never used a popup menu before, Rick, but after reading your message I
checked out a couple of Web sites that have some illustrations of them, and
they appear to be what I'm looking for.

Thanks for the suggestion.

Paul
 
Back
Top