Question : Spin with "autobuddy" and "set buddy integer" strange behavour

The spin perfectly attaches to previous edit-box and works fine except: pressing "down" increases number and pressing "up" decreases.

This is not normal and I haven't seen in any program this kind of behavour. Am I so lucky or everyone every time does something to overcome this?

Answer : Spin with "autobuddy" and "set buddy integer" strange behavour

You need to call SetRange().  The default range is 100 to 0, which makes the button go "upside down" as you have noticed.  To right it, call SetRange(0, 100); or, use whatever range you like.

Nope--I have no idea why such a screwy default was chosen.

..B ekiM
Random Solutions  
 
programming4us programming4us