Description | Hierarchy | Fields | Methods | Properties |
type TAdTrackControl = class(TAdComponent)
A base class for so called track controls like TAdScrollbar and TAdTrackBar.
![]() |
constructor Create(AParent:TAdComponent); override; |
![]() |
procedure LoadFromXML(aroot:TAdSimpleXMLElem); override; |
![]() |
function SaveToXML(aroot:TAdSimpleXMLElems): TAdSimpleXMLElem; override; |
![]() |
property Max: integer read FMax write SetMax; |
![]() |
property Min: integer read FMin write SetMin; |
![]() |
property Position: integer read FPosition write SetPosition; |
![]() |
property Smooth: boolean read FSmooth write FSmooth; |
![]() |
property Orientation: TAdOrientation read FOrientation write SetOrientation; |
![]() |
property OnChange: TAdNotifyEvent read FOnChange write FOnChange; |
![]() |
constructor Create(AParent:TAdComponent); override; |
Creates an instance of TAdTrackControl. |
![]() |
procedure LoadFromXML(aroot:TAdSimpleXMLElem); override; |
Loads the track control properties from the xml structure. |
![]() |
function SaveToXML(aroot:TAdSimpleXMLElems): TAdSimpleXMLElem; override; |
Saves the track control properties to the xml structure. |
![]() |
property Max: integer read FMax write SetMax; |
The maximum value of the track control. Must be bigger or equal than the "min" value. |
![]() |
property Min: integer read FMin write SetMin; |
The minimum value of the track control. Must be smaller or equal to the "max" value. |
![]() |
property Position: integer read FPosition write SetPosition; |
The current position of the track control. |
![]() |
property Smooth: boolean read FSmooth write FSmooth; |
If true, the track control slider may be at every of the bar position. If false, the slider snaps into the single positions. |
![]() |
property Orientation: TAdOrientation read FOrientation write SetOrientation; |
The way the track control is orientated. |
![]() |
property OnChange: TAdNotifyEvent read FOnChange write FOnChange; |
Event that is triggered when the position of the track control is changed. |