Re: Creating an NSForm programmatically & tabbing
Re: Creating an NSForm programmatically & tabbing
- Subject: Re: Creating an NSForm programmatically & tabbing
- From: Eric Gorr <email@hidden>
- Date: Sat, 27 Sep 2008 15:03:23 -0400
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 (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:
@ericgorr.net
This email sent to email@hidden
_______________________________________________
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