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

How to trap bar item events (runtime created)

Thread ID:





25090 Feb 17,2005 04:56 PM UTC Feb 17,2005 09:09 PM UTC WinForms 1
Tags: Tools
Martin Bonneville
Asked On February 17, 2005 04:56 PM UTC

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 09:09 PM UTC

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.

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