954,582 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

VB6 Scroll Bar Question

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.

nerdthon123
Newbie Poster
4 posts since Dec 2009
Reputation Points: 10
Solved Threads: 0
 

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

Attachments ChangeRGBColorByScrollBar.zip (3.78KB)
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
 

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

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: