The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Value


Unit:SDL_progbar
Class:TProgBar
Declaration:property Value: double;

The property Value controls the progress bar length. It is scaled by the properties Min and Max.

In addition to controlling the length of the bar, the Value property may be displayed as a text at the position [TextPosX, TextPosY]. The visual appearance of the text is defined by the properties Font, TextAlignment, TextAngle, TextDecPlaces, and TextVisible.

Hint 1: The text which will be displayed can be adjusted using the event OnShowValue.

Hint 2: The value of the progress bar may be incremented or decremented automatically by a timer-controlled event. This timer can be activated by setting the property AutoInc to TRUE.


Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): sdlprogbar



Last Update: 2014-Dec-04