We help IT Professionals succeed at work.

Merging menus

riccohb
riccohb asked
on
In theory I thought I knew how to do this - in practice I can't get it to work.

When Form 2 loads I want it to merge its menus with Form 1. I have set the Automerge property on Form 2's menu to true, but set Form 1's Automerge to False. Form 1's menu contains 3 headings, which have a Group Index of 2, 3 & 4. Form 2's menu has one heading with a Group Index of 1. The form styles are fsNormal.

When Form 2 loads, the menus don't merge. Which blindingly obvious thing have I missed?

Cheers
Comment
Watch Question

Commented:
Hi riccohb!

I tried it (D6 Pro) as you described and it works okay for me. Btw, forms are created with its Visible property set initially to False. You may try first to show the form (Form2.Show) to merge its mainmenu to Form1's mainmenu.

Hope this helps, Ivo.
riccohb:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
CERTIFIED EXPERT

Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

accept ivobauer's comment as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thanks,

geobul
EE Cleanup Volunteer

Explore More ContentExplore courses, solutions, and other research materials related to this topic.