Results 1 to 3 of 3

Thread: Determing sender in multiple event handles [Resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950

    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
  •  



Click Here to Expand Forum to Full Width