Re: setTextColor, display string, then set it back not working
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