|
Re: Form Spinner, up or down pressed?
Many Thanks for your replies.
The last one worked well (just setting Min=0 and Max=1, therefore knowing what was pressed).
Two related follow ups
1. Would it have been easier using ActiveX version (i.e. first reply) and if so how?
2. For a spin button on a pop-up form, how can I do the same thing? There I only tend to get SpinButton1_Change which cant be tricked with the 0/1. (If its 0 already, then pressing down doesnt trigger the event). I was thinking of having min=0, max=2 and always setting it to 1 at the end of it, but this itself triggers another call to SpinButton1_Change. Is this the way forward (if yes, how do I disable this recursive calling) or is there a better way?
|