• 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
NSTextField sendActionOn:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField sendActionOn:


  • Subject: NSTextField sendActionOn:
  • From: Brad Stone <email@hidden>
  • Date: Sat, 16 Jan 2010 13:56:21 -0500

I have an NSTextField and an NSDatePicker on a view.  As soon as the user clicks into either on (and before they type anything) I want to send an action.  I thought I'd use sendActionOn: but I can't get it to work.

The best I can do for the NSTextField is bind an action and in, IB, in the TextFieldAttributes set "Action" to "Sent on End Editing"  which sends the action after the first character is type.  I want the action sent as soon as the field gains focus.

Thanks_______________________________________________

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: NSTextField sendActionOn:
      • From: Matthew Lindfield Seager <email@hidden>
  • Prev by Date: Re: needing help w/ asynchronous message problem, using YAMessageQueue
  • Next by Date: Re: NSTextField sendActionOn:
  • Previous by thread: Re: Adding to-many objects programmatically
  • Next by thread: Re: NSTextField sendActionOn:
  • Index(es):
    • Date
    • Thread