Full Keyboard Access for controls within a table
Full Keyboard Access for controls within a table
- Subject: Full Keyboard Access for controls within a table
- From: "Peter Boctor" <email@hidden>
- Date: Tue, 14 Mar 2006 12:50:36 -0800
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