Here's some sample code demonstrating this two cases:
http://ericgorr.net/nsform.zip
Contacts-FormManual is where I am creating the NSForm
programmatically. When I tab between the fields, I would like the
formChanged: selection to be called.
Contacts-Form is where I am creating the NSForm via IB. When I tab
between the fields, the updateContact: selector is called.
On Sep 27, 2008, at 12:29 PM, Eric Gorr wrote:
When I use interface builder to create a NSForm and hook up it's
action, I see the action being executed when I tab between the
fields as I am running the application.
However, when I create a NSForm programmatically and hook up it's
action, I only see the action being executed when I press return or
enter.
How can I have the NSForm send it's action when I tab between the
fields when it is created programmatically?
Thank you.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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/mailist
%40ericgorr.net
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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]