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

Re: Disable text field as label


  • Subject: Re: Disable text field as label
  • From: Henry McGilton <email@hidden>
  • Date: Thu, 21 Apr 2005 10:17:08 -0700


On Apr 21, 2005, at 3:35 AM, Andy Usher wrote:

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?

What are you really trying to do? In addition to setting enabled or disabled, you can set text fields to be editable and selectable. Still don't know about the grey colour, though . . .

    Cheers,
		........  Henry


===============================+============================ Henry McGilton, Boulevardier | Trilithon Software Objective-C/Java Composer | Seroia Research -------------------------------+---------------------------- mailto:email@hidden | http://www.trilithon.com | ===============================+============================

_______________________________________________
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: 
 >Disable text field as label (From: Andy Usher <email@hidden>)

  • Prev by Date: NSFont & bold
  • Next by Date: Re: NSFont & bold
  • Previous by thread: Re: Disable text field as label
  • Next by thread: Re: Disable text field as label
  • Index(es):
    • Date
    • Thread