• 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 highlight of RowSelection in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preventing highlight of RowSelection in NSTableView


  • Subject: Re: Preventing highlight of RowSelection in NSTableView
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 27 Mar 2009 10:53:56 -0700


On 2009 Mar 27, at 04:40, Sourabh Sahu wrote:

How can we prevent the highlight feature , when we select row in NSTableView.
I also want to shouldSelectRow return YES.

I believe this will do what you want:

If you're building for Leopard only, subclass NSTableView so that this method is a no-op:

- (void)highlightSelectionInClipRect:(NSRect)clipRect {
}

For Tiger, people have reported success by hacking an Apple private method.

_______________________________________________

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: Preventing highlight of RowSelection in NSTableView
      • From: Corbin Dunn <email@hidden>
References: 
 >Preventing highlight of RowSelection in NSTableView (From: Sourabh Sahu <email@hidden>)

  • Prev by Date: user access privileges to plist in /library/preferences
  • Next by Date: Re: user access privileges to plist in /library/preferences
  • Previous by thread: Preventing highlight of RowSelection in NSTableView
  • Next by thread: Re: Preventing highlight of RowSelection in NSTableView
  • Index(es):
    • Date
    • Thread