• 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: NSTabView and edit fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTabView and edit fields


  • Subject: Re: NSTabView and edit fields
  • From: Ricky Sharp <email@hidden>
  • Date: Tue, 01 Aug 2006 11:25:34 -0500

On Tuesday, August 01, 2006, at 10:29AM, John Stiles <email@hidden> wrote:

>I don't think it's apparent that a control in the window /must/ have
>focus. The window itself, or the window frame container, can have the
>focus. That's perfectly legitimate AFAICS. And I certainly don't think
>the impetus is on the developer to force focus on a control in a window
>whenever you show a window or sheet---this certainly isn't a common
>Cocoa programming technique.

But shouldn't you always have one control be marked as the first responder?  Keep in mind that users of full keyboard access need to have some control be focused to allow them to easily move to other controls.

In all my apps, I always wire the entire key loop in IB and establish a first responder.  Note that I wire not only edit fields, but every single control that users can interact with.  Cocoa does the right thing when full keyboard access is turned on/off.

--
Rick Sharp
Instant Interactive(tm)

 _______________________________________________
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

References: 
 >Re: NSTabView and edit fields (From: Matt Neuburg <email@hidden>)
 >Re: NSTabView and edit fields (From: John Stiles <email@hidden>)

  • Prev by Date: Why multiple calls to an IB palette inspector's 'revert' method?
  • Next by Date: Re: NSTabView and edit fields
  • Previous by thread: Re: NSTabView and edit fields
  • Next by thread: Re: NSTabView and edit fields
  • Index(es):
    • Date
    • Thread