• 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: Implementing key view loop in custom NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Implementing key view loop in custom NSView (From: Andreas Eriksson <email@hidden>)
 >Re: Implementing key view loop in custom NSView (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: To get system sounds for Move or Copy operations
  • Next by Date: Re: How can I get the reference to Cancel and Print buttons in Print Dialogue
  • Previous by thread: Re: Implementing key view loop in custom NSView
  • Next by thread: Re: Implementing key view loop in custom NSView
  • Index(es):
    • Date
    • Thread