I just recently made up a very simple application with a slider, a label, and a button. When the user hits the button it gets the value of what slider currently is at and sends it to the label. I have the slider start from 0 to 100, with 10 ticks. However the problem is, is that when I hit the buttons, the values are slightly off, i.e 11, instead of 10 and 88 instead of 90, it seems to go up in denominations of 11. Does anyone know how I can fix this?
Thanks,
John.
Edit: Also when I try to change the current value in IB, say I enter 10 it takes it to 11.1, also I have only stop on ticks set.
Thanks,
John.
Edit: Also when I try to change the current value in IB, say I enter 10 it takes it to 11.1, also I have only stop on ticks set.