David Mack
Registered User.
- Local time
- Today, 13:19
- Joined
- Jan 4, 2000
- Messages
- 53
I have an activeX spin button located on a form which increments a text box value from 45 to 1000 in increments of 5. This works fine, but if the user wants to put in the value 995, that's a lot of spinning. I have been trying to do the same with a slider control which seems a little more convenient than the spin button in this application. The user could ball park the hundreds value and then fine tune to the tens and fives.
I have set the large increment to 100 and the small to 5, but I get values not divisible by 5. I would like to be able to have the slider control emulate the "divisible by fives" I have spin button. Do I have to do some fuzzy round off math or is there some property I have missed?
I do not want people typing any values in the text box. They will have to use the controls.
Thanks,
Dave
I have set the large increment to 100 and the small to 5, but I get values not divisible by 5. I would like to be able to have the slider control emulate the "divisible by fives" I have spin button. Do I have to do some fuzzy round off math or is there some property I have missed?
I do not want people typing any values in the text box. They will have to use the controls.
Thanks,
Dave