Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Static Meter

8 views
Skip to first unread message

Jael

unread,
Oct 21, 2009, 6:12:01 PM10/21/09
to
I would like to create a circular meter (like a clock face) in a form that
has 50 "stops" or defined increments in 180 degrees (3.6 degrees per
measurement) The raw/plotted value would be between 40 and 90. I'd like an
indicator (line & arrow) to point to 9:00 (270 degrees) for 40, 12:00 (360
degrees) for 65 and 3:00 (180 degrees) for 90. I need the left side of the
circle background to be green and the right side to be red.
I can do this with a progress bar type meter but my client wants a circular
meter ("speedometer").
I'm using MSAccess 2003.

Any thoughts will be appreciated.
Thanks,
Jeff

Jael

unread,
Oct 21, 2009, 7:29:01 PM10/21/09
to
I may have posted this twice, if so I appologize.
I need to display a circular meter (like a clockface) that has 50 points in
a180 degree section (1/2 circle). The data are 40 to 90 in unit increments
(3.6 degrees per point). For a value of 40 I want the pointer (line/arrow)
to point to 9:00 (270 degrees, the value of 65 to point to 12:00 (0 degrees)
and the value of 90 to point to 3:00 (90 derees) and be controlled to 3.6
degree increments. It's a static display that can change each time the form
is opened, but does not change as long as the form is open. Also I want the
left side background to be green and the right side background to be red.
I can do this with a modification of a progress bar, but my client wants a
circular meter ("speedometer").
I can also do it with 40 different images of the meter but there must be a
more "elegant" way.

I'm using MS VB 2003.

Any thoughts, links or suggestions would be appreciated.

Thanks,
Jeff


Tom van Stiphout

unread,
Oct 22, 2009, 12:09:13 AM10/22/09
to
On Wed, 21 Oct 2009 16:29:01 -0700, Jael
<Ja...@discussions.microsoft.com> wrote:

You may be able to find an ActiveX control that can do this, or you'll
be spending a fair amount of time writing your own.
If client understands the trade-offs, they may want to settle for the
progress bar.

-Tom.
Microsoft Access MVP

Klatuu

unread,
Oct 22, 2009, 9:56:05 AM10/22/09
to
You need a series of images, one for each position you want to display. The
in the Current Event of the form, display the verision of the image that
meets the requirements.
--
Dave Hargis, Microsoft Access MVP

Jael

unread,
Oct 30, 2009, 8:28:02 PM10/30/09
to
Thanks Dave. that's not the answer I was hoping for but....

I may try and program a meter using an image as a background and adjust a
line from the origin to the value using Sine, Cosine & line slant. I know
the angle needs to be in radians and the length, height in TWIPs. It might
be a fun challenge.

Thanks again and sorry for the multiple posts - never ran into that much of
a delay between posting and actually seeing them at my end.

Jael

unread,
Oct 30, 2009, 9:58:03 PM10/30/09
to
I'll give it a try - its strickly a cosmetic thing with him. thanks. Jeff

"Tom van Stiphout" wrote:

> .
>

0 new messages