Hi Daniweb,

I am currently taking a computer science class in school, and was given an extra project(because I'm so far ahead of the rest of the class). I am stumped on how to get the of the slider bar to do what I want. In the project I have to display the temperature with a slider bar. So what I've done so far is just do that thing that displays the value of a slider bar in a label... But that's not my problem. I also need to get the scroll bar to change colors as I scroll with it, and I only want the part under the thing you click to move it to change the value to change color. blue for cold, purple for warm, and red for hot. I am stumped. Please help.

Recommended Answers

All 2 Replies

this is a sample project. I think it can help you.

1. Use RGB unction to change color.
2. Use Scroll and Change event of the scroll bar.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.