Decimal points in edit boxes
I have an UpDown control in an editbox. I want it to initially start at 0.0 and go up to 1.0 in increments of 0.1
How do i do this? I can only get it to do intergers.
Spinner controls don''t work with floats. You have to roll your own.
Check out these sites:
codeguru.com
codeproject.com
Check out these sites:
codeguru.com
codeproject.com
Hi
the easiest way is to have one integer variable (say i)that you increase/decrease with the UpDown Control, and then just use 0.1 * i as the value for the text box.
------------
Runicsoft
the easiest way is to have one integer variable (say i)that you increase/decrease with the UpDown Control, and then just use 0.1 * i as the value for the text box.
------------
Runicsoft
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement