Analog_Meter
Posted: 2002-06-01
By: ArchiveBot
Viewed: 77
Filed Under:
Title | Uploaded | Size |
---|---|---|
CODE_UPLOAD124791282000.zip | 9/3/2020 3:45:00 PM | 22,065 |
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
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.