• 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
Re: How to select the next field?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to select the next field?


  • Subject: Re: How to select the next field?
  • From: "I. Savant" <email@hidden>
  • Date: Fri, 27 Jan 2006 08:46:35 -0500

Hello, Lorenzo:

Are you on Tiger? If so, you may want to have a look at NSWindow's - -(void)setAutorecalculatesKeyViewLoop:(BOOL)flag method (there's a checkbox for this in IB as well). It may be overriding your own specifications.

--
I.S.


On Jan 27, 2006, at 8:42 AM, Lorenzo wrote:

I asked already but I didn't get any suggestion.
I would like the user hits TAB and select the next textField I want.
I have several text fields in a NSTableViewItem. Even if I connect them
through the nextKeyView, it doens't work.



In InterfaceBuilder I do: 1) I control-drag from the window to the first field A and connect as initialFirstResponder. 2) Then I control-drag from the field A to the field B and connects as nextKeyView. 3) Then I control-drag from the field B to the field C and connects as nextKeyView.

I checked the list and this seems to be the right way to do it.
But on my app it doesn't work. Since the field A and C are in the same
horizontal line and the field B is in line below, I get the selection
sequence A, C, B all the time.

How to fix that?


Best Regards -- Lorenzo email: email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: How to select the next field?
      • From: Lorenzo <email@hidden>
References: 
 >How to select the next field? (From: Lorenzo <email@hidden>)

  • Prev by Date: How to select the next field?
  • Next by Date: Pasting Across NSTextFields
  • Previous by thread: How to select the next field?
  • Next by thread: Re: How to select the next field?
  • Index(es):
    • Date
    • Thread