views:

35

answers:

2

The title pretty much says it all, I have some key events, that correspond to buttons also. What property/method to I have to set/call for a button to look depressed (change state?) for say half a second?

Thanks alot in advance!!

James Hartt

+2  A: 

What property … to I have to set… for a button to …change state…?

-[NSButton setState:].

Peter Hosey
A: 

not quite, its highlight... [NSButton highlight:YES]; Thanks for the effort!!

James Hartt