Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Spin buttons
I've implemented a spin button on an editline. That's straight forward.
I seem to be missing something though. As the spin button doesn't actually do anything by itself other than fire the OnSpinClick event, I fail to see how the SpinRange Property applies?
It would be handy if it worked but I don't see the relationship considering we still need to code the outcome of the onspinclick.
I seem to be missing something though. As the spin button doesn't actually do anything by itself other than fire the OnSpinClick event, I fail to see how the SpinRange Property applies?
It would be handy if it worked but I don't see the relationship considering we still need to code the outcome of the onspinclick.
Comments
The documentation was sorely lacking on this nuance, so I've updated it to be more clear.
That prompted the question in the first place.
The problem however was mine. When setting the SpinRange property I used the incorrect format for CtrlID in that I used the period delimiter instead of the semicolon delimiter.
Get that right and it works as advertised and I can remove my superfluous event code.
Thanks @KevinFournier