• 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: NSTextField refreshes are wacky.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField refreshes are wacky.


  • Subject: Re: NSTextField refreshes are wacky.
  • From: Markus Hitter <email@hidden>
  • Date: Tue, 12 Mar 2002 11:05:02 +0100

Am Dienstag den, 12. Mdrz 2002, um 09:03, schrieb email@hidden:

You don't say so, but it sounds to me like you have somehow changed the background of the textfield to not draw, or to draw in a color that is transparent. In this case, you need to make sure that -isOpaque is returning NO for your now non-opaque textfield.

Are you sure?

My code never subclasses NSTextField and the "draws background" switch is always turned off. All works excellent.

The -isOpaque thing is an performance improvement as it disallows transparent parts in the Buttons images and enhances rendering performance at this price.


As for Johnathan's original question, he probably simply messed something up like he accidently duplicated the text field in IB or so. There are tons of examples where he can look at, including the CurrencyConverter Tutorial.


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTextField refreshes are wacky.
      • From: Jonathan Feinberg <email@hidden>
    • Re: NSTextField refreshes are wacky.
      • From: email@hidden
References: 
 >Re: NSTextField refreshes are wacky. (From: email@hidden)

  • Prev by Date: Embedding Postscript
  • Next by Date: Re: NSTextField refreshes are wacky.
  • Previous by thread: Re: NSTextField refreshes are wacky.
  • Next by thread: Re: NSTextField refreshes are wacky.
  • Index(es):
    • Date
    • Thread