• 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: [NSTableview] can't make selected text stay black
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSTableview] can't make selected text stay black


  • Subject: Re: [NSTableview] can't make selected text stay black
  • From: Corbin Dunn <email@hidden>
  • Date: Tue, 09 Mar 2010 08:19:29 -0800

On Mar 8, 2010, at 3:30 PM, Kevin Wojniak wrote:

> What about overriding the drawTitleXXX method and just draw the text yourself?

That's shouldn't be necessary; it should be possible to (easily) override the settings set by the tableview. It is just a matter of knowing what those settings are!

corbin

>
>
> On Mar 8, 2010, at 3:15 PM, Kent Hauser wrote:
>
>> On Mon, Mar 8, 2010 at 12:20 PM, Corbin Dunn <email@hidden> wrote:
>>
>>>
>>> On Mar 5, 2010, at 2:25 PM, Kent Hauser wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm trying to make a NSTableView selected row not look selected. I
>>>> subclassed NSTableView & added the following class & delegate methods:
>>>>
>>>
>>>
>>> How about this: [tableView
>>> setSelectionHighlightStyle:NSTableViewSelectionHighlightStyleNone] ?
>>>
>>> --corbin
>>>
>>>
>>>
>> This is exactly what I want -- but it's SL only. I've been trying to find a
>> 10.5 solution as well. But NSTextFieldCell seems determined to hightlight
>> itself (bold & white) no matter how I ask it not to.  Any help would be
>> greatly appreciated.
>>
>> Thanks.
>>
>> Kent
>> _______________________________________________
>>
>> 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

_______________________________________________

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: 
 >[NSTableview] can't make selected text stay black (From: Kent Hauser <email@hidden>)
 >Re: [NSTableview] can't make selected text stay black (From: Corbin Dunn <email@hidden>)
 >Re: [NSTableview] can't make selected text stay black (From: Kent Hauser <email@hidden>)
 >Re: [NSTableview] can't make selected text stay black (From: Kevin Wojniak <email@hidden>)

  • Prev by Date: Re: [NSTableview] can't make selected text stay black
  • Next by Date: [Moderator] Thread CLOSED - Re: is as high as mine
  • Previous by thread: Re: [NSTableview] can't make selected text stay black
  • Next by thread: Re: [NSTableview] can't make selected text stay black
  • Index(es):
    • Date
    • Thread