NSOutlineView: New item opened for editing/editing ends with "enter"
NSOutlineView: New item opened for editing/editing ends with "enter"
- Subject: NSOutlineView: New item opened for editing/editing ends with "enter"
- From: Kevin Smith <email@hidden>
- Date: Sat, 23 Aug 2003 13:38:48 -0400
I have an outline view that uses the ImageAndTextCell from the
DragNDropOutlineView example. I want it to act like iTunes where
adding a new item gives it a temporary name and the cell is already
selected for editing. In addition, once the user hits the "enter" key,
the editing should end and the same item should still be selected.
I've tried sending the outline view and the cell abortEditing: with and
without a makeFirstResponder:, but nothing seems to work.
Kevin Smith
email@hidden
_______________________________________________
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.