• 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
Controls created at runtime aren't drawn as enabled until a mouse click...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Controls created at runtime aren't drawn as enabled until a mouse click...


  • Subject: Controls created at runtime aren't drawn as enabled until a mouse click...
  • From: Steve Christensen <email@hidden>
  • Date: Thu, 09 Sep 2010 11:12:51 -0700

I have a window and controls that are loaded from a nib. One of the controls builds a subview hierarchy to control a set of parameters that aren't known until runtime. What I'm finding is that all of the controls in that hierarchy are drawn as if they're disabled until you click on them, then they're redrawn with the blue highlights. As far as I can tell, all the controls are completely enabled and work just fine, except for that odd look.

I've attached a small screenshot showing the difference between a slider that has been clicked and one that hasn't. Any ideas what I might be doing wrong?

PNG image

_______________________________________________

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: Controls created at runtime aren't drawn as enabled until a mouse click...
      • From: Kevin Wojniak <email@hidden>
  • Prev by Date: indexedUITableView question
  • Next by Date: Re: NSOutlineView
  • Previous by thread: indexedUITableView question
  • Next by thread: Re: Controls created at runtime aren't drawn as enabled until a mouse click...
  • Index(es):
    • Date
    • Thread