|
-
Dec 18th, 2003, 01:05 PM
#1
Thread Starter
Frenzied Member
Determing sender in multiple event handles [Resolved]
Not sure that's clear. I have a button click event that handles the click event for two different buttons. They perform the same actions, except that in one, two consecutive boolean values are reversed (i.e., btn1 = true, false, btn2 = false, true).
Rather than duplicate code, I want the one click event to handle both. In the procedure, I need to determine which button was clicked so I can set the values appropriately. Is there any way to do this? Thanks.
Last edited by salvelinus; Dec 18th, 2003 at 02:36 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|