Which control to use

Started by Douglas McDonald, September 24, 2010, 08:32:15 PM

Previous topic - Next topic

Douglas McDonald

I need to make a slider to set a value 0-128,like a volume control . Before I've just used a scroll bar. I was just wondering if someone has a better idea. It would be nice to display the value (0-128 or 0-100%) in the control between the left/right arrows. Even better, I can wish, is have the space between the arrows turn color through the spectrum as the value is increased.

Thoughts/ Ideas?
Doug
Doug McDonald
KD5NWK
www.redforksoftware.com
Is that 1's and 0's or 0's and 1's?

Douglas McDonald

Well I'm stupid. The "TrackBar" is the slider. I just never put the two together until I dropped it on the form. I need to play with it but I'd guess it will do all I want.

Sorry for a wasted post.
Doug
Doug McDonald
KD5NWK
www.redforksoftware.com
Is that 1's and 0's or 0's and 1's?

Douglas McDonald

Any examples how to use it (TrackBar) in clever ways. Since I've already started a post may as well ask.

Thanks
Doug
Doug McDonald
KD5NWK
www.redforksoftware.com
Is that 1's and 0's or 0's and 1's?

Roger Garstang

You should be able to get close to what you want with tooltips enabled on the control and creative usage of ranges in the control to show color.  You can get the current value and update a label with it too.

Douglas McDonald

Roger, thank you. the tool tip works great and shows the current slider value. really thats all I need

Thank you
Doug
Doug McDonald
KD5NWK
www.redforksoftware.com
Is that 1's and 0's or 0's and 1's?