VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



AnalogMeter

by Max Seim (14 Submissions)
Category: Complete Applications
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (23 Votes)

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.

Rate AnalogMeter

Download AnalogMeter

Download AnalogMeter (21 KB)

AnalogMeter Comments

No comments have been posted about AnalogMeter. Why not be the first to post a comment about AnalogMeter.

Post your comment

Subject:
Message:
0/1000 characters