0

I have a NSButton and an action associated with Button. I would like to invoke the action method only on mouseup (mouserelease).Is it possible? If it is possible how to do that?

Ram
  • 1,872
  • 5
  • 31
  • 54
  • Take a look [here](http://stackoverflow.com/questions/6094763/simple-mouseover-effect-on-nsbutton). May help. –  May 27 '12 at 19:50

1 Answers1

1

A click is a mouseDown followed by a mouseUp, so a normal action method is not called until the mouseUp anyway, so I don't know what other behavior you would want.

rdelmar
  • 103,982
  • 12
  • 207
  • 218
  • you can find my answer here... instead of changing the background image call your method... it may help you... http://stackoverflow.com/questions/6094763/simple-mouseover-effect-on-nsbutton/22023238#22023238 – VSN Jul 28 '14 at 10:36