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

Programmatically create barItem

Thread ID:





24074 Jan 27,2005 03:47 PM UTC Jan 28,2005 05:35 PM UTC WinForms 1
Tags: Tools
Administrator [Syncfusion]
Asked On January 27, 2005 03:47 PM UTC

Hi, 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? Thanks, Jinlin

Administrator [Syncfusion]
Replied On January 28, 2005 05:35 PM UTC

Hi Jinlin, 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. Regards, Gregory Austin Syncfusion, Inc.


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