Results 1 to 6 of 6

Thread: MDI Documents

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Location
    Westminster, Md.
    Posts
    163
    I asked this question once before and no one responded so I'll pose it again:

    Is there a reason why the MDI child document would be swallowing the menus of the Parent document? (ie: the File menu and such)

    Also, what would be causing it to spawn two child documents every time it's activated?


    Thanks,
    Eiredrake

  2. #2
    Guest
    what code are you using?

    this should load the child form with its own menu's

    This goes in the MDI's form load module
    Code:
    Dim NewF As NameOfChild 'name of the child goes there
    Set NewF = New NameOfChild
    Load NewF
    NewF.Show

  3. #3
    Guest
    I believe it has to do with the NegotiatePosition in the Menu Editor. Also, make sure that your NegotiateMenu property for the Form is set to True.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Location
    Westminster, Md.
    Posts
    163

    MDI's

    Hmm... I tried both of your suggestions and it's still coming up the same exact way. After reading the help I don't know if what I'm trying to do is possible. Basically I want the Mother Document's menus displayed on top and then the child form's displayed below it as a seperate menu. I didn't notice any actual difference in effect when I tried either solution.

    Ie:

    File Setup Templates Help
    -----------------------------------
    Cards Concept Traits Aptitudes



    Any ideas?
    Eiredrake

  5. #5
    Guest
    Nope, I don't think you can do that in VB.

  6. #6
    Guest
    create the menus and have them invisible.
    just the first part(IE file, edit, etc.)
    then use the frm.popupmenu (replace frm with thename of your form) and use labels or command buttons or whatever. it wont look the same as the top menu.. but it will work.

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