Results 1 to 3 of 3

Thread: Form Making MDI form Menu Disappear

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2000
    Location
    Over There
    Posts
    522
    One of my forms is making the menu from my MDI from disappear when its shown.

    The form that is causing the problem, also has a menu on it, but I don't know why it would cause a problem now.

    the problem seemed to show up after I was playing around with the toolbar and coolbar controls.
    I've looked at every setting I know of, and I can't make the menu stay when this form is shown.

    even setting the menu to visible in code doesn't help.
    Any assistance would be greatly appreciated.

  2. #2
    Guest
    MDI child menus override the MDI forms menus all the time. I seem to remember reading somewhere that there was a way of turning this off, but I've never got it to work.

    Basically, the work around is to have the child form menus duplicate the MDI parents menus as well as add its own, and pass the child form menu clicks through to the parent form.

    For right click menus, use a separate non-MDI child form and make the menus call subs in the MDI child menu.

    - gaffa

  3. #3
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    The property NegotiateMenu is supposed to help with this but I've never seen it work. Check it out in the help.

    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

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