Core Data Binded Text Fields
Core Data Binded Text Fields
- Subject: Core Data Binded Text Fields
- From: Jason Ketterman <email@hidden>
- Date: Thu, 15 Nov 2007 06:39:30 -0600
I have numerous text fields laid out in a form. Before I made Core
Data bindings to them, the first NSTextField was focused when the
window opened and Tab correctly went to each field. After I bound the
fields to the Core Data object, however, when the window opens, the
focused text field is the very last one (which is not bound to Core
Data).
So I set the window's initialFirstResponder to the first NSTextField,
but no luck. I manually setup all the nextKeyView connections and now
tabbing works correctly, but the window still opens with the very last
text field focused instead of the first.
I'd manually set that field to be focused when the window appears, but
I can't find the code to set focus on a NSTextField.
Thanks in advance,
Jason
_______________________________________________
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