• 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
NSTextField inserts tabs instead of advancing focus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField inserts tabs instead of advancing focus


  • Subject: NSTextField inserts tabs instead of advancing focus
  • From: David Catmull <email@hidden>
  • Date: Wed, 13 Dec 2006 13:49:28 -0800

I have some NSTextFields that are inserting tab characters instead of advancing the user focus when the tab key is pressed, and I can't figure out why. The fields are each in a tab that otherwise contains a table view and some buttons; there is only one text field in each tab. This is in a floating panel in a Carbon application.

- I tried setting the delegate and overriding - control:textView:doCommandBySelector, but it doesn't get called for the tab key (it does for delete)
- Prior to the above, the delegate was not set, and I did not modify the window's field editor
- The problem does not happen when testing the interface in Interface Builder
- Pressing tab while the table view is focused does shift focus to the text field
- Setting the field's nextKeyView didn't help


I'm running out of ideas. What could be causing this?

--
David Catmull
email@hidden
http://www.uncommonplace.com/

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: [FIXED] NSTextField inserts tabs instead of advancing focus
      • From: David Catmull <email@hidden>
  • Prev by Date: Re: NSSplitView
  • Next by Date: Re: [FIXED] NSTextField inserts tabs instead of advancing focus
  • Previous by thread: Re: Can't get simplest use of WebView to work
  • Next by thread: Re: [FIXED] NSTextField inserts tabs instead of advancing focus
  • Index(es):
    • Date
    • Thread