• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Angelo Chen <email@hidden>
  • Date: Mon, 16 Jun 2008 18:27:19 -0700 (PDT)

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@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: (no subject)
      • From: Graham Cox <email@hidden>
    • Re: (no subject)
      • From: Jeff LaMarche <email@hidden>
    • Re: (no subject)
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Custom field editor on NSSecureTextField?
  • Next by Date: Re: Custom field editor on NSSecureTextField?
  • Previous by thread: Re: Custom field editor on NSSecureTextField?
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread