• 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
Set text color of text field
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Set text color of text field


  • Subject: Set text color of text field
  • From: Brad Bumgarner <email@hidden>
  • Date: Tue, 27 Jun 2006 13:15:24 -0600

I would like to set the text color of the text of a NSTextField. I know I need to use the "setTextColor:" method. I would like to be able to set it to red (to indicate an error) or black (normal condition). What I have tried (below) doesn't work:


[imageOffset setTextColor: redColor];


I think the problem is with "redColor." An example of the proper way of doing this would be greatly appreciated.


Thanks,
Brad Bumgarner, CTA
_______________________________________________
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: Set text color of text field
      • From: Vinay Prabhu <email@hidden>
    • Re: Set text color of text field
      • From: Julio Cesar Silva dos Santos <email@hidden>
  • Prev by Date: Getting the parent process name
  • Next by Date: Re: Set text color of text field
  • Previous by thread: Re: Getting the parent process name
  • Next by thread: Re: Set text color of text field
  • Index(es):
    • Date
    • Thread