• 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
Editing State in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Editing State in NSOutlineView


  • Subject: Editing State in NSOutlineView
  • From: "David Chan" <email@hidden>
  • Date: Wed, 7 Jun 2006 18:15:39 +0800

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?

Thank you in advance for your advises.

Regards
David
_______________________________________________
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


  • Follow-Ups:
    • Re: Editing State in NSOutlineView
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: is [[NSObject alloc] release] correct?
  • Next by Date: Making an NSProgressIndicator react as an NSControl
  • Previous by thread: Re: Subclassing NSManagedObject
  • Next by thread: Re: Editing State in NSOutlineView
  • Index(es):
    • Date
    • Thread