Description | Hierarchy | Fields | Methods | Properties |
type TAdProgressBar = class(TAdComponent)
A simple progressbar component.
![]() |
constructor Create(AParent:TAdComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure LoadFromXML(aroot:TAdSimpleXMLElem); override; |
![]() |
function SaveToXML(aroot:TAdSimpleXMLElems): TAdSimpleXMLElem; override; |
![]() |
function Percent:single; |
![]() |
property Min: integer read FMin write SetMin; |
![]() |
property Max: integer read FMax write SetMax; |
![]() |
property Position: integer read FPosition write SetPosition; |
![]() |
property ShowPercentage: boolean read FShowPercentage write FShowPercentage; |
![]() |
property Smooth: boolean read FSmooth write SetSmooth; |
![]() |
property Align: TAdAlignment read FAlign write FAlign; |
![]() |
property FontName; |
![]() |
property FontColor; |
![]() |
constructor Create(AParent:TAdComponent); override; |
Creates an instance of TAdProgressBar. |
![]() |
destructor Destroy; override; |
Destroys the instance of TAdProgressBar. |
![]() |
procedure LoadFromXML(aroot:TAdSimpleXMLElem); override; |
Loads the settings from XML. |
![]() |
function SaveToXML(aroot:TAdSimpleXMLElems): TAdSimpleXMLElem; override; |
Stors the settings in XML. |
![]() |
function Percent:single; |
Returns the percentage, with which the TAdProgressBar is filled. |
![]() |
property Min: integer read FMin write SetMin; |
The minimum value of the progressbar. |
![]() |
property Max: integer read FMax write SetMax; |
The maximum percentage of the progressbar. |
![]() |
property Position: integer read FPosition write SetPosition; |
The position of the progressbar. |
![]() |
property ShowPercentage: boolean read FShowPercentage write FShowPercentage; |
If true, the percentage of the progress is displayed in the middle of the control. |
![]() |
property Smooth: boolean read FSmooth write SetSmooth; |
If "Smooth" is true, the progress bar will be draw as one solid block. If false, there will be multiple blocks visible. |
![]() |
property Align: TAdAlignment read FAlign write FAlign; |
Defines, where the percentage text should stand. See also
|
![]() |
property FontName; |
The name of the font, which is used to draw the percentage. |
![]() |
property FontColor; |
The color of the font, which is used to draw the percentage. |