• 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: Another NSOutlineView question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another NSOutlineView question


  • Subject: Re: Another NSOutlineView question
  • From: Volker in Lists <email@hidden>
  • Date: Tue, 9 Dec 2008 09:40:03 +0100

Hi,

you should be able to detect a double click and call a method then that either temporarily allows the selection or directly starts the edit mode. I do have a similar setup - don't do editing, but I use the double click action via bindings to attach notes to such an unselectable item.

Hth,
volker

Am 09.12.2008 um 06:55 schrieb Graham Cox:

In my NSOutlineView, I disallow selection of group items by implementing the delegate method -outlineView:shouldSelectItem:, which works fine, but I still want to be able to edit the titles of group items. The above method prevents this also.

How can I prevent selection of the the item but still allow editing of its title string?


tia,

Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Another NSOutlineView question
      • From: Corbin Dunn <email@hidden>
References: 
 >Another NSOutlineView question (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: best practice to create Custom Objects represented by a image in a d-n-d operation
  • Next by Date: NSAlert with NSTimer
  • Previous by thread: Another NSOutlineView question
  • Next by thread: Re: Another NSOutlineView question
  • Index(es):
    • Date
    • Thread