BarField Class
The BarField class displays scaled data. The field displays two overlaid rectangles: a background rectangle and a foreground rectangle. The data value scales the foreground rectangle relative to the minimum and maximum values.
If the value is at the minimum, the foreground rectangle is not displayed. At maximum value, the foreground rectangle completely overlays the background rectangle. For intermediate values, the foreground rectangle partially covers the background rectangle.
If you want to display only the foreground rectangle without the background, set the background rectangle color and pattern to the same values as the form (or composite field) in which the bar field is displayed. (Use the BgPattern attribute inherited from FormField and the BgColor attribute inherited from FieldObject to do this.)
Bar fields are often used in table fields to display a bar chart.
Inherits From
Inherited By
None
Attributes
FgBitmap
FgPattern
GrowFrom
Methods
UpdForeground
Last modified date: 06/25/2024