Quick Find: Search for:

 Total Access Components
Control Tour

Return to Components Home
 

 
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

About Box

AVI (Video)

Bitmap Effects

Border
Browse for Folder New!
CD Player
Clipboard
Clock
Common Dialogs
Date Time Picker New!
Digital Display
Enhanced Button
Gauge
Icon Menu
INI File
Marquee
Notes
Popup Menu
Progress Meter
Registry
Resize
Slider
Spin Button
Splitter
System Info
Tab Strip
Text Effects
Timer
Wave
 

 

Total Access Components Tour: Gauge

The Gauge control is a databound control that allows you to display quantitative information in a visual format that is easy to understand. You can select two different styles (half circle and full circle) and a variety of formatting options. Use the Gauge control to show numeric data.

0

Using the Gauge Control

First, place the Gauge control on your form. Then, using the property sheet, determine the appearance of the gauge using the following properties: EffectStyle, GaugeStyle, LineWidth, NeedleStyle, StartLocation, TickFrequency, and TickStyle.

To change the position of the needle, set the Value property. You can define minimum and maximum values using the Min and Max properties. If you try to set the Value property to a number that exceeds the Min and Max properties, a runtime error occurs.

Gauge Properties

Name

Description

BackColor

The background color of the control.

EffectStyle

The effect applied to the Dial.

ForeColor

The color of the needle.

GaugeStyle

The display style of the gauge.

LineWidth

The width of the needle in Pixels.

Max

The maximum value.

Min

The minimum value.

NeedleStyle

The display style of the needle.

StartLocation

The starting location of the gauge dial.

TickFrequency

The frequency of the tick marks.

TickStyle

Whether Tick marks are displayed.

Value

The value of the control.

Gauge Events

Name

Description

Click Fires when the mouse is clicked over the control.
DblClick Fires when the mouse is double clicked over the control.
KeyDown Fires when a key is depressed.
KeyPress Fires when a key is pressed.
KeyUp Fires when a key is released.
MouseDown Fires when a mouse button is depressed over a control.
MouseMove Fires when the mouse moves over the control.
MouseUp Fires when a mouse button is released over a control.

 

Contact Us  l   Web questions: Webmaster   l   Copyright © 2008 FMS, Inc.

Celebrating 22 Years of Software Excellence