Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Basic gauge Tick/colored area

Status
Not open for further replies.

MerlinKnight

Technical User
Jan 5, 2005
7
US
I am trying to find out how to make a gauge tick marks.
I know how to do the needle movement but i am trying to do redline area, yellow line area green area around the outer edge on the gauge. Also variable tick marks.
I am also wanting to make them movable. To be able to set the areas up like 0 to 100 will be red and so on.

Any help would greatly be appreciated. Even a good book that can enlighten me on this subject.

Thank you,
Merlin Knight
 
Basically tick marks are done by drawing little short lines on a picture control. Take a look at the source code for the slider control at WolfeByte Solutions and see how he does it:
I learned a lot just by reading that code.

Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top