Re: Full Keyboard Access for controls within a table
Re: Full Keyboard Access for controls within a table
- Subject: Re: Full Keyboard Access for controls within a table
- From: "Peter Boctor" <email@hidden>
- Date: Thu, 16 Mar 2006 09:57:47 -0800
Yes, the setting is on.
The problem is that NSTableView's keyboard access support is limited
to arrow up and down to navigate the rows. NSTableView doesn't include
any support for keyboard access to it's cells (popups, menus).
My hunch is that the support for keyboard access (selecting by drawing
the focus ring and control by responding to the keyboard) lives in the
implementation of the cells and not the controls.
I'm trying to figure out a way to tell cells within a table to draw
the focus ring and respond to the keyboard.
-peter
On 3/15/06, Vaibhav Machhar <email@hidden> wrote:
> There is a setting in your system prefrences whether you want allow all
> the text fields and table views and all.
> Goto --> System Prefrences --> Keyboard & Mouse --> n check ' All Controls
> '. ( There will be 2 radio buttons)
> Try this out and your problem might be solved.
>
> On 3/15/06, Peter Boctor <email@hidden> wrote:
> >
> I have an NSTable where some of the cells are check boxes. Without any
> work on my part, I can tab to the table and use the up/down arrow to
> navigate the rows.
>
> However there doesn't seem to be a way to use the keyboard to select
> (draw the focus ring) and control (space to check/uncheck) the check
> boxes.
>
> I've unsuccessfully attempted to do this programmatically by calling
> [NSButtonCell setFocusRingType] and when the row is selected calling
> [NSCell setShowsFirstResponder:YES].
>
> I've set a breakpoint on NSSetFocusRingStyle and I see that for stand
> alone check boxes the focus ring is drawn by NSButtonCell, but I can't
> tell what criteria NSButtonCell is using such that it doesn't draw the
> focus ring when it's in a table.
>
> Any ideas?
_______________________________________________
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