Re: 2nd try, tabbing doesn't work properly in NSTableView?
Re: 2nd try, tabbing doesn't work properly in NSTableView?
- Subject: Re: 2nd try, tabbing doesn't work properly in NSTableView?
- From: Matt Neuburg <email@hidden>
- Date: Sun, 20 Aug 2006 14:04:30 -0700
- Thread-topic: 2nd try, tabbing doesn't work properly in NSTableView?
On Sun, 20 Aug 2006 13:21:04 +0100, "Theodore H. Smith" <email@hidden>
said:
>I'm pressing the tab key in the NSCells. And the focus normally does
>go to the correct next cell.
>
>But sometimes, there are available cells for it to jump into, but the
>focus simply jumps back to the NSTableView itself. The next tab then
>goes to other NSControls on the window, like NSTextFields or so.
>
>This isn't what I want. I want it to tab correctly around the cells
>in my NSTableView.
>
>Now what?
>
>How do I make so that the tab actually does jump to available cells
>instead of missing them?
>
>And yes I am implementing - (BOOL)tableView:(NSTableView*)tv
>shouldEditTableColumn:(NSTableColumn*)tableColumn row:(int)row;
>properly :(
I think the default behavior is that if the user is editing a cell, tabbing
goes to the next editable cell (skipping any non-editable cells). If the
user is not editing a cell, the table itself has focus, and tabbing goes to
the next control if there is one. Is that what you're seeing? m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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