Search Tools Links Login


Allows you to create your own analog meters using MSpaint.
These images become the meter face. Use the (analogmeter)
subroutine to draw the hand (needle) automatically scaling
the needle to the size of the Picture Box and position the
needle to the engineering unit (value) you wish to display.
Movement is smooth. You can also vary the needle width, color,
and needle length. All of the meter attributes are sent to the
subroutine with each update, allowing the needle color, (for example)
to change as a value increases.
Using the Picture1.Picture property, you can even load in a
different meter face during runtime ... the meter needle and the
meter face to not conflict with each other.
No special ocx's or api's needed. All done with Picture1.Line property.

Original Author: Max Seim

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 92 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 22,065 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.