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.

Dynamic add/remove baritem to/from xpmenu bar

Thread ID:

Created:

Updated:

Platform:

Replies:

49945 Sep 30,2006 11:41 AM Oct 3,2006 05:12 AM Windows Forms 2
loading
Tags: Tools
Lan Mo
Asked On September 30, 2006 11:41 AM

Hello There,
V3.3.0 VS.NET2003

I am trying to add/remove baritem to/from XPMenu bar by code.
I use this line to clear the existing bars before adding new baritems. but it doesn''t work.
How can I do it?
// clear the existing bars
barSubModule.Items.Clear();

I attached my sample. click ''Section'' will add Section''s baritem, click ''Report'' will add Report''s item, but they do not clear the previous exsiting items.


Regards,

Lan




WindowsApplication220.zip

Administrator [Syncfusion]
Replied On September 30, 2006 11:51 AM

I am sorry. I withdraw this post because I''ve posted same question in July 13,06 and Mano has already answered my question. Thanks.


>Hello There,
V3.3.0 VS.NET2003

I am trying to add/remove baritem to/from XPMenu bar by code.
I use this line to clear the existing bars before adding new baritems. but it doesn''t work.
How can I do it?
// clear the existing bars
barSubModule.Items.Clear();

I attached my sample. click ''Section'' will add Section''s baritem, click ''Report'' will add Report''s item, but they do not clear the previous exsiting items.


Regards,

Lan




WindowsApplication220.zip

Mano J [Syncfusion]
Replied On October 3, 2006 05:12 AM

Hi Lan,

Thanks for the update.

Regards,
Mano

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.

;