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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

XPMenus problem

Thread ID:





23544 Jan 13,2005 10:07 PM UTC Jan 18,2005 05:19 PM UTC WinForms 4
Tags: Tools
Steve Bryant
Asked On January 13, 2005 10:07 PM UTC

I have an application very similar to the XPMenusMDI example. What I am wanting to do though is create an instance of either the text editor or image editor outside the main form. In doing this though, the new form would require its own toolbars as specified in the ChildFrameBarManager. Is this possible? Thanks for any help on this.

Administrator [Syncfusion]
Replied On January 14, 2005 07:51 PM UTC

Hi Steve, According to my understanding, you wish to have a stand-alone application form which can support XPMenus. Yes, it is possible to do so. You could either use the MainFrameBarManager or the XPToolbar for this purpose. Please refer to the samples - XPMenusSDI and XPToolbarsAndContextMenus for more information. Let me know if you need further assistance. We appreciate your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Steve Bryant
Replied On January 16, 2005 05:57 PM UTC

Guru Thanks for your reply. I''m sorry I should have been a bit more specific with my problem. I am wanting an MDI type application where the child can be opened either within or outside the main form. I''m guessing I have to use the XPToolbar as a ChildFrameBarManager doesn''t seem to give the menus when opening outside the MDI parent, but I can''t get the child forms menus to merge. Any help you could give would be much appreciated. Attached is a basic example of what I am doing. XPMenusProblem_1698.zip

Administrator [Syncfusion]
Replied On January 17, 2005 03:02 PM UTC

Hi Steve, I would recommend sticking with the BarManagers. In order to have the menu merged when opened inside, but still show up when opened outside, you''ll want to declare a BarManager, but then assign it an instance of either MainFrameBarManager or ChildFrameBarManager depending on which constructor is called. You''ll want to create two separate constructors for your second Form. One for inside and one for outside. You''ll use an instance of ChildFrameBarManager for inside and MainFrameBarManager for outside. I''ve included a sample to demonstrate this. insideoutsidebarmanager_4900.zip Regards, Gregory Austin Syncfusion, Inc.

Steve Bryant
Replied On January 18, 2005 05:19 PM UTC

Thanks for that Gregory, just what I required.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon