Results 1 to 5 of 5

Thread: Add a menu to an Access form

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2004
    Posts
    58

    Add a menu to an Access form

    Hi All,

    Does anyone know how to add a menu to and Access form. All I am after is a simple commandbar with a single, (About), menu item

    Cheers

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    Don't you create your toolbar, open the form in design view, open the toolbar and place appropriately. Save the form. Close it and open normally to test.


    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2004
    Posts
    58
    unfortunately not. The toolbar will only attach itself to the MS Access window, not the form itself. Even if you set the forms MenuItem property, the commandbar will only appear along with the other Access command bars at the top of the screen.

  4. #4
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950
    You could fake one by putting a rectangle on the form, then adding whatever buttons you wanted.

  5. #5
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    Or, if like me, you got annoyed with Access toolbars/menu - loop through turn them all off and only leave your menu available (set the toolbar type to menu).

    I actually got so annoyed with it I did that, wrote a chunk of code to read from a table and make up a whole new menu just the way I wanted it all in access. Also got rid of the right mouse menu too.


    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width