• 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: Overriding NSTextField Background Drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Overriding NSTextField Background Drawing


  • Subject: Re: Overriding NSTextField Background Drawing
  • From: Andreas Mayer <email@hidden>
  • Date: Sat, 2 Aug 2003 04:10:40 +0200

Am Freitag, 01.08.03 um 22:31 Uhr schrieb Seth Willits:

Right now Textfields can draw a background color, how can I draw whatever I want into that background as often as I want? Is that possible?

You mean drawing a pattern?
NSColor's colorWithPatternImage: works for me.


bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Overriding NSTextField Background Drawing (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Corrupted NSMutableString
  • Next by Date: Re: Learning Mac programming (Cocoa) more...
  • Previous by thread: Overriding NSTextField Background Drawing
  • Next by thread: threads and buttons - basic question
  • Index(es):
    • Date
    • Thread