• 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
NSTextField black outline, not drawing in background thread when in a custom NSControl?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField black outline, not drawing in background thread when in a custom NSControl?


  • Subject: NSTextField black outline, not drawing in background thread when in a custom NSControl?
  • From: aaron smith <email@hidden>
  • Date: Sun, 20 Sep 2009 01:25:23 -0700

Hey All - quick question,

I have a custom search NSControl that I attach an NSTextField onto. I
can't figure out why the NSTextField isn't drawing like normal (cursor
blink), the cursor is solid black. My control overrides some mouse
methods as I change parts of the control when mouse over etc. The
thing I noticed is that when I mouse over and mouse out really quickly
the NSTextField is drawing like it normally should (blink cursor). So
I was wondering if I'm supposed to somehow have this NSTextField to
draw continuously from a different thread?

The other question I have is about a black 1px border. I can't get rid
of the darn thing. I've read the docs for NSTextField and I've tried a
combination of:
[searchField setBordered:false];
[searchField setDrawsBackground:false];
[searchField setBezeled:false];

Even when setting all those to false, I still get this 1px black border.

Any ideas?
Thanks
_______________________________________________

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

  • Follow-Ups:
    • Re: NSTextField black outline, not drawing in background thread when in a custom NSControl?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Running run loops in 10.6 (was: Need -[NSTask waitUntilExitOrTimeout:])
  • Next by Date: Re: Push-on push-off buttons doesn't show state
  • Previous by thread: Any way to control the image format in CGPDFContext?
  • Next by thread: Re: NSTextField black outline, not drawing in background thread when in a custom NSControl?
  • Index(es):
    • Date
    • Thread