Re: NSTextField refreshes are wacky.
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.