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.

How to trap bar item events (runtime created)

Thread ID:





25090 Feb 17,2005 11:56 AM Feb 17,2005 04:09 PM Windows Forms 1
Tags: Tools
Martin Bonneville
Asked On February 17, 2005 11:56 AM

Hi, All my bar items are created in runtime. I need to trap the "click" event. How I can do that ? Best regards, Martin

Administrator [Syncfusion]
Replied On February 17, 2005 04:09 PM

Hi Martin, If you point all of your BarItems at the same Event Handler, you can determine which one was clicked using the sender parameter. I''ve included a sample that demonstrates this. Hope it helps. 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.

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.