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?
ADAdministrator Syncfusion Team August 23, 2004 02:28 PM
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.
SGSean GreerAugust 24, 2004 09:28 AM
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?
ADAdministrator Syncfusion Team August 24, 2004 11:27 AM
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.