We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,220 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

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.

3
Contributors
2
Replies
1 Day
Discussion Span
2 Years Ago
Last Updated
3
Views
nerdthon123
Newbie Poster
4 posts since Dec 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

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

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

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

debasisdas
Posting Genius
6,968 posts since Feb 2007
Reputation Points: 722
Solved Threads: 457
Skill Endorsements: 20

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0613 seconds using 2.66MB