NSTextField sendActionOn:
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