Hi,

I have following action, two NSButtons are linked to it, I'd like to test which 
button trigger the action in the code, any way to do this? thanks.


- (IBAction)doCopying:(id)sender
{
   // how to determine which NSButton is clicked?
}

Angelo


      Yahoo! Mail具備一流的網上安全保護功能,請前往 http://hk.antispam.yahoo.com/ 了解更多相關資訊!
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to