NSOutlineView editing...
NSOutlineView editing...
- Subject: NSOutlineView editing...
- From: Greg Casey <email@hidden>
- Date: Mon, 31 Mar 2003 11:37:35 -0500
I know this must have already been asked and answered by now, because
it seems like it would be a common request. But, I haven't been able to
find the information I need (after spending a lot of time looking), so
please bear with me.
I have an NSOutlineView and I want it to act very similar to how
ProjectBuilder's "Files" view acts. You can control-click an item in
the view and enter "Rename" mode. This causes the outline view to enter
edit mode for that table column. You type the new name in and hit the
return key. The item's new name is set and the item remains selected
but no longer in edit mode.
The default behavior of NSOutlineView when a user hits the return key
while in edit mode is to advance to the next item in the list and
initiate editing of that item. How can I make NSOutlineView behave like
ProjectBuilder's outline view instead?
Thanks in advance for your advice!
-gtc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.