Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spinner increment not work if decimal value 1

Status
Not open for further replies.

johncook

Programmer
Joined
Nov 24, 2002
Messages
154
Location
US
Have a spinner control on form.
When increment property value is default 1.00 works fine. Change increment property to 0.01 and does not increment. actually after decrementing a few times the value changes to -0.00 and after incrwementing a few times the value changes to 0.00 but never changes to anything else.
Looked on knowledgebase for bug but none located.
Any ideas?
Thanks,
John
 
Hi John,

Make the initial value to 0.00
This can be done by putting.. 0.00 in the value property of the spinner control.

:-)
ramani :-)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com

 
Set the Value to 0.00 instead of 0. That worked for me.
Dave S.
[cheers]
 
PERFECT! Saved me a LOT of trying although I feel I should have tried that before asking.
Thanks,
John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top