Re: Implementing key view loop in custom NSView
Re: Implementing key view loop in custom NSView
- Subject: Re: Implementing key view loop in custom NSView
- From: Andreas Eriksson <email@hidden>
- Date: Mon, 10 Aug 2009 18:54:47 +0200
On Mon, Aug 10, 2009 at 4:05 PM, Andy Lee <email@hidden> wrote:
> On Aug 10, 2009, at 5:43 AM, Andreas Eriksson wrote:
>
>> I am wondering whats the best approach to handle the key view loop in a
>> custom NSView that consists of several sub-views that the user can tab
>> between?
>>
>
> I've used [NSWindow recalculateKeyViewLoop] but my views might have been
> laid out in such a way that this happened to conveniently do what I wanted.
> Note there's also setAutorecalculatesKeyViewLoop: and a check box in IB.
Interesting, I didn't now the key view loop could be determined
automatically. With
autorecalculatesKeyViewLoop enabled it seems to do what I want. Wish I
knew this yesterday before manually setting up all my
key view loops. Thanks!
Regards,
Andreas
_______________________________________________
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