On Sep 21, 2009, at 14:30, Kyle Sluder wrote:

On Mon, Sep 21, 2009 at 2:29 PM, Laurent Daudelin
<[email protected]> wrote:
Simple: I want to set the font as a gray to show that the text field cell is
disabled, e.g. cannot be selected.

Okay, what you really want to do is set the
NSForegroundColorAttributeName of the attributed string that's being
drawn.

http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Conceptual/AttributedStrings/AttributedStrings.html

--Kyle Sluder

That works, Kyle, thanks!

-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin                                 
http://nemesys.dyndns.org
Logiciels Nemesys Software                                              
[email protected]
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to