Re: NSTabView and edit fields
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