Disabling highlighting. Subclass not receiving method call?
Disabling highlighting. Subclass not receiving method call?
- Subject: Disabling highlighting. Subclass not receiving method call?
- From: "Theodore H. Smith" <email@hidden>
- Date: Tue, 28 Jun 2005 18:25:08 +0100
I'm trying to disable an NSComboBoxCell from being highlighted.
I overrode the method highlight:withFrame:inView: but it is never
called, and the cell still displays high lighted.
Other methods of this class do however execute.
I'm also overriding NSTableView's highlightSelectionInClipRect:
method, but that also doesn't stop the highlights!
I tried overriding NSCells's highlightColorWithFrame:inView: to
return [NSColor clearColor] however, this only made the highlight black.
CocoaDev and google don't seem to provide any answers with an obvious
search phrase like: http://www.google.com/search?q=nscell+highlight
+disable
I'm not using any categories or any other hacks to change the default
highlight behaviour. I removed them.
Is it actually possible to stop an NSCell from being highlighted? Any
clue on what I'm doing wrong?
--
http://elfdata.com/plugin/ Industrial strength string processing,
made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden