Vcl.ComCtrls.TProgressBar.Style

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Style: TProgressBarStyle read FStyle write SetStyle default pbstNormal;

C++

__property TProgressBarStyle Style = {read=FStyle, write=SetStyle, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TProgressBar


Description

Determines how progress is illustrated by the TProgressBar.

Use Style to get and set how progress is illustrated by the TProgressBar. Style is set using the TProgressBarStyle enumeration, which has the pbstNormal and pbstMarquee values. pbstNormal displays the percentage of completion as the position of the highlighted portion on the bar. Zero percentage completion is to the far left, 100% completion—to the far right. pbstMarquee indicates that progress is occurring by moving the highlighted portion back and forth through the entire range of the bar.

Tip: pbstMarquee only has effect if the application uses a manifest.

See Also