• 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 drawing over itself?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField drawing over itself?


  • Subject: Re: NSTextField drawing over itself?
  • From: Ivan Kourtev <email@hidden>
  • Date: Sat, 30 Sep 2006 13:19:06 -0400

On 30 sep 2006, at 17.36, Ivan Kourtev wrote:

The text field in the main window works just fine but the text field in the second window overwrites itself.

What is causing this behavior of a text field overwriting itself? I tried everything that I could come up with and the only solution I found was to enable the "Draw" switch for the background color of the text field. What (if anything) am I doing wrong?

Are you by any chance setting these values from a non-main thread?

<http://developer.apple.com/documentation/Cocoa/Conceptual/ Multithreading/index.html>

Nope, so far I only have one (the main) thread in my app.

If I move the button from the second window into the main window then I get the normal behavior (no need to draw button background). Does this make any sense? I cannot explain it.

-- ivan


















_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >NSTextField drawing over itself? (From: Ivan Kourtev <email@hidden>)
 >Re: NSTextField drawing over itself? (From: j o a r <email@hidden>)

  • Prev by Date: Re: Help Book not working
  • Next by Date: Re: Endless loop but only with release build
  • Previous by thread: Re: NSTextField drawing over itself?
  • Next by thread: Endless loop but only with release build
  • Index(es):
    • Date
    • Thread