Solved

VB5 MDI-Child How to...

Posted on 1997-11-16
4
364 Views
Last Modified: 2008-03-17
How to Keep my toolbar and menu in the MDI-Child without move it to the MDI-parent. Even if i set the NegotiateMenus to False i get the MDI-Child menus in the MDI-Parent.

/Janne
0
Comment
Question by:jannea
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
rantanen earned 50 total points
ID: 1441076
You can't, that behaviour is by design. NegotiateMenus has no effect on MDI-forms.
0
 
LVL 1

Author Comment

by:jannea
ID: 1441077
Thanks and OK !

But... isn´t it any other way to solve my problem.

/Janne
0
 
LVL 4

Expert Comment

by:rantanen
ID: 1441078
Kinda, you can give up MDI. Have one main form which contains menu and toolbar only for your common tasks (like VB itself has) and then add your "child" forms using e.g.

Dim X As New myForm
X.Show

Some things will be more tedious to do, but it can be done.
0
 
LVL 1

Author Comment

by:jannea
ID: 1441079
Thanks !

But it should have been much more easy if it should be possible, coz i got five exe charing the MDI-Parent and then lots of childs to work with so it get´s hard to remember all the menus i got in the main...

/Janne
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now