Creating an NSForm programmatically tabbing

2008-09-27 Thread Eric Gorr
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

Re: Creating an NSForm programmatically tabbing

2008-09-27 Thread Eric Gorr
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

Re: Creating an NSForm programmatically tabbing

2008-09-27 Thread mmalc crawford
On Sep 27, 2008, at 12:03 PM, Eric Gorr wrote: 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. [theFormCell setSendsActionOnEndEditing:YES]; mmalc