Re: nextKeyView not cycling through NSEditText fields
Re: nextKeyView not cycling through NSEditText fields
- Subject: Re: nextKeyView not cycling through NSEditText fields
- From: Andy Lee <email@hidden>
- Date: Fri, 30 Mar 2007 18:30:46 -0400
On Mar 30, 2007, at 1:18 PM, Mike wrote:
I have an NSView in a window with 4 NSEditText fields. All 4 of the
text fields are connected via their nextKeyView outlets. I want the
user to be able to hit the Tab key and have the focus cycle
continuously through all of the text fields in order.
(I assume you mean NSTextField.)
I've found myself puzzled by the key view loop myself, and haven't
always been able to figure out the answer.
Are you sure your outlets in IB are going to the text fields you
want, and not, for example, to an enclosing view?
Also -- and this is a long shot, but might as well check -- make sure
in IB that the window doesn't have "Auto recalculate key view loop"
turned on.
For more ideas, see this very helpful posting: <http://
www.cocoabuilder.com/archive/message/cocoa/2007/1/31/177975>.
--Andy
_______________________________________________
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