How to make menu in MDI child appear together with MDI form 
Author Message
 How to make menu in MDI child appear together with MDI form

Hello

I have create a MDI form with a child form, each form has its own menu, but
when I show the child form, In parent form only display the child menu and
the original one disappear, I want both appear, please help

Thanks,
Joshua



Sun, 30 Apr 2000 03:00:00 GMT  
 How to make menu in MDI child appear together with MDI form



Quote:
> Hello

> I have create a MDI form with a child form, each form has its own menu,
but
> when I show the child form, In parent form only display the child menu
and
> the original one disappear, I want both appear, please help

> Thanks,
> Joshua

That's how it works.  You have two choices:
1. duplicate the parent menu on each child form and delegate when clicked
2. put each child menu on the parent, have no menus on the child forms, and
toggle the Visible properties as needed when each child is activated to
make the appropriate menus appear.


Sun, 30 Apr 2000 03:00:00 GMT  
 How to make menu in MDI child appear together with MDI form



Quote:


>> Hello

>> I have create a MDI form with a child form, each form has its own menu,
>but
>> when I show the child form, In parent form only display the child menu
>and
>> the original one disappear, I want both appear, please help

>> Thanks,
>> Joshua

>That's how it works.  You have two choices:
>1. duplicate the parent menu on each child form and delegate when clicked
>2. put each child menu on the parent, have no menus on the child forms, and
>toggle the Visible properties as needed when each child is activated to
>make the appropriate menus appear.

Duplicating the child menu on the parent can be accomplished easily by
opening both forms in a text editor (like notepad or an equivalant)
and copy/paste the menu code into the parent. Much faster than
rebuilding using the menu editor.

HTH

Paul Sprague
Digitech Solutions

Email replies to this post are automatically sent to dev null
Send mail to: psprague AT digitech DOT net



Sun, 30 Apr 2000 03:00:00 GMT  
 How to make menu in MDI child appear together with MDI form

Check out the "negiotiate" property.

--
Fred Clabuesch
                  wfredc at avci dot net
                  SigmaTech Software
 -=-  -=-  -=-  -=-  -=-  -=-  -=-  -=-  -=-  -=-

Quote:

>Hello

>I have create a MDI form with a child form, each form has its own menu, but
>when I show the child form, In parent form only display the child menu and
>the original one disappear, I want both appear, please help

>Thanks,
>Joshua



Sun, 07 May 2000 03:00:00 GMT  
 How to make menu in MDI child appear together with MDI form


Quote:

>Hello

>I have create a MDI form with a child form, each form has its own menu, but
>when I show the child form, In parent form only display the child menu and
>the original one disappear, I want both appear, please help

Hi Joshua
        You will need to duplicate the Child Menu on the MDI. so that you have
the menu on both forms.

        Regards, Tony



Tue, 09 May 2000 03:00:00 GMT  
 How to make menu in MDI child appear together with MDI form

Quote:


>>Hello

>>I have create a MDI form with a child form, each form has its own menu, but
>>when I show the child form, In parent form only display the child menu and
>>the original one disappear, I want both appear, please help

>Hi Joshua
>    You will need to duplicate the Child Menu on the MDI. so that you have
>the menu on both forms.

This covers the case when all child forms are closed.

You also have to duplicate the MDI menu into EACH of the Child forms
so that it appears whenever any one of the children has the focus.
That is, you have to MANUALLY merge the menu choices, and arrange to call
the appropriate actions from the currently focused-child form's code.

-- Rick
--

(Rick Rutt is a system architect living and working in metropolitan Detroit.)



Tue, 09 May 2000 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Q: Form activate Fires On Non Child MDI Forms But Only Once On Child Mdi Forms

2. Menu, MDI form and MDI child

3. MDI Form's menu replaced by MDI Child

4. Making Copy Of a MDI Main Form Menu for Child

5. Making a form a child form of an MDI form

6. Making a form a child form of an MDI form

7. Modifying object in MDI Parent form from MDI Child form

8. Make a reference to a MDI form with a reference of a MDI child form

9. MDI-Child form and positon on MDI-form

10. Developing OLE MDI Child forms displayed on Control MDI Form

11. MDI child forms on top of a picture on a MDI form

12. Help with MDI Forms and MDI child forms

 

 
Powered by phpBB® Forum Software