We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Menu merge

Thread ID:

Created:

Updated:

Platform:

Replies:

3561 Mar 27,2003 06:42 PM Mar 31,2003 09:13 AM Windows Forms 3
loading
Tags: Tools
Iftekhar Ivaan
Asked On March 27, 2003 06:42 PM

Hi, I have a MDI form with MainFrameBarManager1 and child form with ChildFrameBarManager1. Child form does not have any default constractor. Child form has a constractor which recive a string. Is it possiblr to do menu merge. I am getting an error. I have to create my menu based on my passed string in the constractor. Please help.

Ramesh Praveen [Syncfusion]
Replied On March 28, 2003 07:22 AM

Hi, Our framework does require a default constructor and you should be able to provide one along with your other 1 arg constructor. Simply call the InitializeComponents method from within the default constructor. The default constructor could in face be protected. That should do the trick. Regards, Praveen Ramesh

Iftekhar Ivaan
Replied On March 28, 2003 10:50 AM

The problem is I create my child form menu in i arg construructor based on passed arg. I only have one child form in the applicatiuon. Content of the child form is diffrent and I need to create different menu. How can I solve that. Thanks > Hi, > > Our framework does require a default constructor and you should be able to provide one along with your other 1 arg constructor. Simply call the InitializeComponents method from within the default constructor. > > The default constructor could in face be protected. > > That should do the trick. > > Regards, > Praveen Ramesh >

Ramesh Praveen [Syncfusion]
Replied On March 31, 2003 09:13 AM

Iftekhar, You should provide a default constructor in which you create all the menus that are common to all instances of the child Form Type. If there are no such menus, then just create a ChildFrameBarManager with empty main-menu and toolbars, wihthout any items. Regards, Praveen Ramesh

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;