• 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
NSOutlineView editing...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSOutlineView editing...
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: Is there a ready chart plotting view?
  • Next by Date: Re: NSOutlineView editing...
  • Previous by thread: Printing Multiple Windows
  • Next by thread: Re: NSOutlineView editing...
  • Index(es):
    • Date
    • Thread