When using a button i expected behaviour as follows:
Pressing the mouse inside button area should give feedback and releasing mouse inside button area should call action: this works fine.
When moving mouse outside button area while mouse is pressed, button should give feedback, i.e. show normal image: this does not work.
When moving mouse outside button area while mouse is pressed and then releasing mouse outside, action should not be invoked: this does not work, i.e. action is called anyway. Attaching a onReleaseOutside() to button does not help as it is invoked after action was called.
Any (not too complicated) way to come to the behaviour i want ? thanx
When using a button i expected behaviour as follows: Pressing the mouse inside button area should give feedback and releasing mouse inside button area should call action: this works fine. When moving mouse outside button area while mouse is pressed, button should give feedback, i.e. show normal image: this does not work. When moving mouse outside button area while mouse is pressed and then releasing mouse outside, action should not be invoked: this does not work, i.e. action is called anyway. Attaching a onReleaseOutside() to button does not help as it is invoked after action was called.
Any (not too complicated) way to come to the behaviour i want ? thanx