Please enable JavaScript to view this site.

DAQFactory User's Guide

Navigation: 7 Pages and Components > 7.18 The Components > 7.18.2 Displays

7.18.2.9 Progress Bar Component

Scroll Prev Top Next More

The progress bar is a standard windows progress bar displaying a colored bar of length determined by an expression and a range.  The bar can be smooth or segmented, horizontal or vertical and you can change the bar's foreground and background color.  

Properties:

Main:

Expression: the result of the expression is used to determine how much of the progress bar is active.  The result is limited by the RangeMin and RangeMax properties.

RangeMin, RangeMax: the minimum and maximum value for the progress bar.  If the result of the expression is below RangeMin, none of the progress is drawn, just the background.  If it is greater than RangeMax, the entire progress is drawn.  Any value in between is proportionally displayed.

Vertical: if checked, the progress bar is drawn vertically.  Otherwise it is drawn horizontally.

Format:

Segmented: if enabled, the progress is drawn as multiple rectangular segments, otherwise it is drawn as a single rectangle.

SegmentAspect: The aspect ratio for the segments of the progress bar, if enabled.  For example, if you have a horizontal progress bar with a height of 20 pixels and a SegmentAspect of 2, the width of each segment will be 40 pixels.  If the SegmentAspect is 0.5, the width of each segment will be 10 pixels.

ForeMultiBrush, ForeMultiPreset, ForeBrush, ForeBrushPreset: determine the color of the progress bar.  The background color is determined by the standard background properties.  Please see sections 7.4.2 and 7.4.3 for details on Multi- properties and presets.

Common Properties:

This component includes all the common properties of components described in section 7.4.4 including the background properties.