Re: Editing State in NSOutlineView
Re: Editing State in NSOutlineView
- Subject: Re: Editing State in NSOutlineView
- From: Corbin Dunn <email@hidden>
- Date: Wed, 7 Jun 2006 12:49:44 -0700
On Jun 7, 2006, at 3:15 AM, David Chan wrote:
Hi all.. I have a probably simple question on NSOutlineView, or
NSTableView. I have an outlineview containing list of categories and
the problem here is, whenever user select a "create new category" menu
item, I would like my outlineview to highlight the newly created item
and turn that item into that editing state where user can just type in
their preferred name without having to doubleclick.
I have no problem in change the item selection to the newly created
item as there is function for that but I am not sure how to turn it
into edit-ready state. What is the function I can use to achieve this?
Call [ov editColumn:col row:row withEvent:nil select:YES]
corbin
_______________________________________________
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