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.

BarItem merging

Thread ID:

Created:

Updated:

Platform:

Replies:

18049 Aug 23,2004 12:48 PM Aug 24,2004 11:27 AM Windows Forms 3
loading
Tags: Tools
Sean Greer
Asked On August 23, 2004 12:48 PM

Should BarItem merging extend to toolbars? I have a MDI form that has a menu and toolbar at the MainFrameBarManager level. The menu contains a Save item that is disabled and has it''s mergetype set to replace. The item is disabled (similar to VS, always has a save icon). When I open a child form, the menu item is merged properly into the parentbaritem, but the Save baritem in the toolbar does not get replaced. By design? Sean

Administrator [Syncfusion]
Replied On August 23, 2004 02:28 PM

Hi Sean, I have created a sample as per your directions and the "Save" BarItem from the MDI child form''s menu correctly replaces the "Save" BarItem in the main form''s menu. Note that the MergeType has to be set to ''Replace'' for both the BarItems. Please refer to the test sample attached here and letme know if this meets your requirements. Thanks for your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Sean Greer
Replied On August 24, 2004 09:28 AM

Guru, I''ve made changes to your sample to more closely model what I''m looking for. I''ve added a toolbar with the ''Save'' baritem. Note that the baritem in the toolbar is not replaced. Is this by design? Sean bar_merge_7098.zip

Administrator [Syncfusion]
Replied On August 24, 2004 11:27 AM

Hi Sean, Thanks for the modified sample application. Yes, this behavior is by design intent. The BarItems will merge only if their ParentBarItems too merge. Hence the BarItems do not merge in this case. Thanks for your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

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.

;