Re: Selection highlight in NSTextFieldCell
Re: Selection highlight in NSTextFieldCell
- Subject: Re: Selection highlight in NSTextFieldCell
- From: Kyle Sluder <email@hidden>
- Date: Wed, 26 Aug 2009 07:04:40 -0700
On Aug 26, 2009, at 6:34 AM, bryscomat <email@hidden> wrote:
Yes, I came across this in the documentaion. After playing with it
for a little bit (and a couple other methods like it) I thought it
was just not honored in an NSTextFieldCell. That method never gets
called when I override it. I have overridden drawWithFrame:inView:
without calling super. Is that why?
No, it's because -highlight… could never do the job. Some NSText
object is going to be used to draw the text field's contents. And in
the most important case, editing, the field editor is doing all the
drawing anyway.
--Kyle Sluder_______________________________________________
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