• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Editing State in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Editing State in NSOutlineView (From: "David Chan" <email@hidden>)

  • Prev by Date: Re: inconsistent crash drawing a string in a custom browser cell
  • Next by Date: RV: NSImageRep for CIN/DPX
  • Previous by thread: Editing State in NSOutlineView
  • Next by thread: Making an NSProgressIndicator react as an NSControl
  • Index(es):
    • Date
    • Thread