Dear all,
Can we set floating point value to spin control?. I want to increase the spin control value with 0.5. is it possible?..
Regards,
Kareem
Printable View
Dear all,
Can we set floating point value to spin control?. I want to increase the spin control value with 0.5. is it possible?..
Regards,
Kareem
No not directly to the spin control, but just interpret the number yourself. So if the spin control range is 0 - 100, would result in a range of 0 - 50 for your control. So when a user clicks on the spin control and it is a 53. Then your control would interpret that as 26.5.
Wayne
Have a look at this article :
http://www.codeguru.com/editctrl/NumericSpin.shtml
Yes it is .
I read somewhere on codeguru an article(a submitted one) with sample code on how to do it.
Go back and look for it.