|
-
Jun 18th, 2000, 01:52 AM
#1
Thread Starter
Addicted Member
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
-
Jun 18th, 2000, 06:09 AM
#2
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
-
Jun 18th, 2000, 08:00 AM
#3
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.
-
Jun 19th, 2000, 01:23 AM
#4
Thread Starter
Addicted Member
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
-
Jun 19th, 2000, 03:02 AM
#5
Nope, I don't think you can do that in VB.
-
Jun 19th, 2000, 03:52 AM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|