TcxDBProgressBar Class
Represents the data-aware version of the TcxProgressBar.
Declaration
TcxDBProgressBar = class(
TcxCustomProgressBar
)
Remarks
The TcxDBProgressBar is a data-aware version of the advanced progress bar control. Almost every aspect of the control’s visualization can be controlled through the Properties of the control.
The main features of the advanced progress bar are listed below:
Vertical orientation support (see the Properties.Orientation and Properties.TextOrientation property);
Multiple bar filling styles support – solid, gradient, rectangles, bitmaps (see the Properties.BarStyle and Properties.ForegroundImage properties);
Overload bar support – the bar can be divided into two parts with different styles (see the Properties.ShowOverload property);
Peak value support – the progress bar is capable of displaying a peak value (see the Properties.ShowPeak property);
Two text styles support – the progress bar can display the current position or the percentage (see the Properties.ShowTextStyle property);
XP theme and skin support (see the Style.LookAndFeel.NativeStyle and Style.LookAndFeel.SkinName properties).
The data-aware functionality of the TcxDBProgressBar is encapsulated in the DataBinding property. It allows you to specify DataSource and DataField to which the editor is bound.
This database field must contain integer values. These field values are interpreted as the position of the progress bar indicator and they must not exceed the limits specified by the Properties.Max and Properties.Min properties.