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: "Theodore H. Smith" <email@hidden>
- Date: Mon, 21 Aug 2006 00:02:30 +0100
On 20 Aug 2006, at 22:04, Matt Neuburg wrote:
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.
I agree that that is the behaviour you'd expect.
As far if that's what I'm seeing: Usually, but not always. Thats the
problem, because it's supposed to be always, but it's not always.
Sometimes, it skips editable cells, and jumps to the parents, as if
it can't find those editable cells, despite that they are clearly
visually there, and they really are editable because I can click on
them and edit them.
Is this a Cocoa bug? Or something I didn't set up right in my code?
_______________________________________________
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