For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > January 2006 > MDIForm Problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author MDIForm Problem
peter_v_1998@yahoo.com

2006-01-26, 6:56 pm

It you have used MDIForms you should know that if you have a menu on
the parent form and one on the child form, when the child form is
loaded it replases the menu on the parent form with its own.

I am wanting to make it do that with not only the menu but also the
toolbar which I have on both forms.

Anyone got any idea how I can do this?

David J Mark

2006-01-26, 6:56 pm


<peter_v_1998@yahoo.com> wrote in message
news:1138320257.590507.38780@g43g2000cwa.googlegroups.com...
> It you have used MDIForms you should know that if you have a menu on
> the parent form and one on the child form, when the child form is
> loaded it replases the menu on the parent form with its own.


Yes.

>
> I am wanting to make it do that with not only the menu but also the
> toolbar which I have on both forms.


Add the child-specific menus to the child forms (not the main form.) The
main form typically has File and Help (with the rest appearing in as child
forms are activated in the MDI.) Toolbars are hidden and shown manually in
the GotFocus event of each child.

>
> Anyone got any idea how I can do this?
>



peter_v_1998@yahoo.com

2006-01-27, 6:56 pm

Ok, I have no problems with the menus, they are working fine. I am
wanting to know if it is possible to get the toolbars working like the
menus so I dont need to have more that one toolbar on the main form as
it will make things more complicated since I am having more than one
instanse of a form loaded.




David J Mark wrote:[color=darkred]
> <peter_v_1998@yahoo.com> wrote in message
> news:1138320257.590507.38780@g43g2000cwa.googlegroups.com...
>
> Yes.
>
>
> Add the child-specific menus to the child forms (not the main form.) The
> main form typically has File and Help (with the rest appearing in as child
> forms are activated in the MDI.) Toolbars are hidden and shown manually in
> the GotFocus event of each child.
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com