Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Event Handling 2

Status
Not open for further replies.

NeotheOne

IS-IT--Management
Jul 25, 2003
9
IT
Hi
I wrote an event handler to manage the click event for ten buttons that work all in the same manner.
The problem is: when event is triggered and the handler start how can I know which of the 10 button has been clicked ?

Thanks
 
Sender?

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
The sender object (passed in as a parameter) is the button that got clicked.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top