• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Core Data Binded Text Fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Core Data Binded Text Fields
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: How to get x-coordinate?
  • Next by Date: Re: Core Data Binded Text Fields
  • Previous by thread: Re: NSMenuItem target binding
  • Next by thread: Re: Core Data Binded Text Fields
  • Index(es):
    • Date
    • Thread