• 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
Disable text field as label
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disable text field as label


  • Subject: Disable text field as label
  • From: Andy Usher <email@hidden>
  • Date: Thu, 21 Apr 2005 11:35:16 +0100

Hi,

Does anyone know how to get NSTextField to 'gray out' when disabled, other than to explicitly set the color, when used as a text label (ie dragged on as 'Label Font Text' in IB).

I've tried setting it as disabled in both IB and programatically but every time it comes up with 100% black text color?

Obviously all's well when used for text input, but when I'm making labels there seems to be no way to gray out!

Any ideas?

Thanks,

Andy

_______________________________________________
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


  • Follow-Ups:
    • Re: Disable text field as label
      • From: James Dessart <email@hidden>
    • Re: Disable text field as label
      • From: Henry McGilton <email@hidden>
    • Re: Disable text field as label
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: Re: nswindow alphaComponent and shadow images
  • Next by Date: Re: Memory management with nibs
  • Previous by thread: Re: Memory management with nibs
  • Next by thread: Re: Disable text field as label
  • Index(es):
    • Date
    • Thread