• 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: setTextColor, display string, then set it back not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setTextColor, display string, then set it back not working


  • Subject: Re: setTextColor, display string, then set it back not working
  • From: Graham Cox <email@hidden>
  • Date: Wed, 7 Jan 2009 15:31:50 +1100


On 7 Jan 2009, at 3:10 pm, Walker Argendeli wrote:

Further question though, other than kicking off a timer, is there a way I could get the text to flash on the screen red for a second, or is a timer the only way to accomplish that?


You could do it this way:


[myTextField performSelector:@selector(setTextColor:) withObject: [NSColor blackColor] afterDelay:1.0];



--Graham



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >setTextColor, display string, then set it back not working (From: Walker Argendeli <email@hidden>)
 >Re: setTextColor, display string, then set it back not working (From: Graham Cox <email@hidden>)
 >Re: setTextColor, display string, then set it back not working (From: Walker Argendeli <email@hidden>)

  • Prev by Date: Re: Programatically locking user screen
  • Next by Date: Re: 2-pixel borders in NSSplitView - I want 1 pixel.
  • Previous by thread: Re: setTextColor, display string, then set it back not working
  • Next by thread: How to get slider events as it moves?
  • Index(es):
    • Date
    • Thread