NSTableView cells with custom views: tab order
NSTableView cells with custom views: tab order
- Subject: NSTableView cells with custom views: tab order
- From: Pierre Bernard <email@hidden>
- Date: Fri, 20 Jan 2006 23:13:14 +0100
Hi!
I am working on a bit of interface much like the rule editor detailed
on Stepwise. It essentially is a table view with a custom cell. The
cell hosts a NSView created in IB.
It all works beautifully. It's just that the tab order (nextKeyView
etc.) is not what I would like it to be:
- When the cell gets first responder status I want it to go directly
to the first NSTextField of the hosted view
- When I hit tab while on the last NSTextField of the cell view I
want the focus to go to the first responder of the next cell.
The problems I hit are:
- The first responder stuff on cells is not as complete as it is on
views
- I would not know where to hand of first responder status from the
cell to the view on to the first text field
- I don't really know how to get hold of the next cell's view so as
to correctly chain it as the last text fields nextKeyView
- If I had managed to correctly chain the hosted view I wonder how to
update that chaining once a row is added or removed from the table
I guess I am not the first trying to do this.
TIA
Pierre Bernard
Houdah Software
_______________________________________________
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