I''d like to add a barItem to the main toolbar everytime an instance of the object is created. If multiple instances of the object are created, I''d like to merge the barItem. The object is sorts of like a mdi child but doesn''t have form type.
Is this doable with XPMenu?
ADAdministrator Syncfusion Team January 28, 2005 12:35 PM
Unfortunately, our merging implementation is dependent on having MDI Children, so you would need to implement merging yourself.
Depending on what you''re trying to do, I would recommend looking into ListBarItem. It allows you to dynamically add BarItems into the list without rearranging the Bars. This would allow you to implement something similar to a Most Recently Used Files List.
Also, you could just register more BarItems with the MainFrameBarManager and then add them to the Bars. However, it would take a little work to get the Bar to sort how you want it to.
I hope this helps. Please let me know if you need anything else.