Re: Disable text field as label
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