• 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: Preventing deselection of NSOutlineView item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preventing deselection of NSOutlineView item


  • Subject: Re: Preventing deselection of NSOutlineView item
  • From: Markus Spoettl <email@hidden>
  • Date: Thu, 7 Aug 2008 15:21:36 -0700

On Aug 7, 2008, at 2:34 PM, Markus Spoettl wrote:
Basically I'd like the outline view only to change selection to other items, but not completely deselect all items. Is there a way to do this?


Sometimes things are really simple but I still fail to see them:

  [outlineView setAllowsEmptySelection:NO];

does exactly what I needed. Sorry for the noise and thanks to Chaitanya Pandit for pointing it out to me.

Regards
Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >Preventing deselection of NSOutlineView item (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Does NSTextField conform to NSEditor (commitEditing specifically)?
  • Next by Date: Re: Does NSTextField conform to NSEditor (commitEditing specifically)?
  • Previous by thread: Preventing deselection of NSOutlineView item
  • Next by thread: NSTypesetter setLineFragmentRect:
  • Index(es):
    • Date
    • Thread