• 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: Selection highlight in NSTextFieldCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Selection highlight in NSTextFieldCell (From: bryscomat <email@hidden>)
 >Re: Selection highlight in NSTextFieldCell (From: Graham Cox <email@hidden>)
 >Re: Selection highlight in NSTextFieldCell (From: bryscomat <email@hidden>)
 >Re: Selection highlight in NSTextFieldCell (From: "I. Savant" <email@hidden>)
 >Re: Selection highlight in NSTextFieldCell (From: bryscomat <email@hidden>)

  • Prev by Date: Re: Selection highlight in NSTextFieldCell
  • Next by Date: Re: How to create GPS enabled Iphone application?
  • Previous by thread: Re: Selection highlight in NSTextFieldCell
  • Next by thread: Beware: trivially reproducible NSPersistentDocument crash when saving
  • Index(es):
    • Date
    • Thread