WineSnob
Not Bright but TENACIOUS
- Local time
- Today, 16:52
- Joined
- Aug 9, 2010
- Messages
- 211
Is it possible to move a rectangle control using code? I am trying to create a visual representation of a number on a linear scale.
I have a control named RiskIndex which will have a value of 0 - 100. I would to "Slide" a rectangle named Box1 along a line from 0 = Far left to 100 = Far Right and in between based on the value of RiskIndex.
If you have any other ideas to show the represtation I am open to it.
If it is a big deal to so it no problem. I just thought would be nice to see. If the user cannot tell 22 is closer to 0 than 78 they have other problems
I have a control named RiskIndex which will have a value of 0 - 100. I would to "Slide" a rectangle named Box1 along a line from 0 = Far left to 100 = Far Right and in between based on the value of RiskIndex.
If you have any other ideas to show the represtation I am open to it.
If it is a big deal to so it no problem. I just thought would be nice to see. If the user cannot tell 22 is closer to 0 than 78 they have other problems