Re: How to select the next field?
Re: How to select the next field?
- Subject: Re: How to select the next field?
- From: Lorenzo <email@hidden>
- Date: Sat, 28 Jan 2006 00:17:50 +0100
Yes I am on Tiger 10.4.3 and I tried to turn off and on the checkbox
AutorecalculatesKeyViewLoop in IB but... no luck.
What do I miss?
My window is really a subClass of NSPanel.
And my NSTabView is my subClass too.
Even my slider are subClassed.
Best Regards
--
Lorenzo
email: email@hidden
> From: "I. Savant" <email@hidden>
> Date: Fri, 27 Jan 2006 08:46:35 -0500
> To: Lorenzo <email@hidden>
> Cc: email@hidden
> Subject: Re: How to select the next field?
>
> 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