Class TAdProgressBar

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdProgressBar = class(TAdComponent)

Description

A simple progressbar component.

Hierarchy

Overview

Methods

Public constructor Create(AParent:TAdComponent); override;
Public destructor Destroy; override;
Public procedure LoadFromXML(aroot:TAdSimpleXMLElem); override;
Public function SaveToXML(aroot:TAdSimpleXMLElems): TAdSimpleXMLElem; override;
Public function Percent:single;

Properties

Published property Min: integer read FMin write SetMin;
Published property Max: integer read FMax write SetMax;
Published property Position: integer read FPosition write SetPosition;
Published property ShowPercentage: boolean read FShowPercentage write FShowPercentage;
Published property Smooth: boolean read FSmooth write SetSmooth;
Published property Align: TAdAlignment read FAlign write FAlign;
Published property FontName;
Published property FontColor;

Description

Methods

Public constructor Create(AParent:TAdComponent); override;

Creates an instance of TAdProgressBar.

Public destructor Destroy; override;

Destroys the instance of TAdProgressBar.

Public procedure LoadFromXML(aroot:TAdSimpleXMLElem); override;

Loads the settings from XML.

Public function SaveToXML(aroot:TAdSimpleXMLElems): TAdSimpleXMLElem; override;

Stors the settings in XML.

Public function Percent:single;

Returns the percentage, with which the TAdProgressBar is filled.

Properties

Published property Min: integer read FMin write SetMin;

The minimum value of the progressbar.

Published property Max: integer read FMax write SetMax;

The maximum percentage of the progressbar.

Published property Position: integer read FPosition write SetPosition;

The position of the progressbar.

Published property ShowPercentage: boolean read FShowPercentage write FShowPercentage;

If true, the percentage of the progress is displayed in the middle of the control.

Published 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.

Published property Align: TAdAlignment read FAlign write FAlign;

Defines, where the percentage text should stand.

See also
TAdAlignment
Specifies the horizontal text alignment.
Published property FontName;

The name of the font, which is used to draw the percentage.

Published property FontColor;

The color of the font, which is used to draw the percentage.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:31:59