Class TAdTrackControl

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdTrackControl = class(TAdComponent)

Description

A base class for so called track controls like TAdScrollbar and TAdTrackBar.

Hierarchy

Overview

Methods

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

Properties

Published property Max: integer read FMax write SetMax;
Published property Min: integer read FMin write SetMin;
Published property Position: integer read FPosition write SetPosition;
Published property Smooth: boolean read FSmooth write FSmooth;
Published property Orientation: TAdOrientation read FOrientation write SetOrientation;
Published property OnChange: TAdNotifyEvent read FOnChange write FOnChange;

Description

Methods

Public constructor Create(AParent:TAdComponent); override;

Creates an instance of TAdTrackControl.

Public procedure LoadFromXML(aroot:TAdSimpleXMLElem); override;

Loads the track control properties from the xml structure.

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

Saves the track control properties to the xml structure.

Properties

Published property Max: integer read FMax write SetMax;

The maximum value of the track control. Must be bigger or equal than the "min" value.

Published property Min: integer read FMin write SetMin;

The minimum value of the track control. Must be smaller or equal to the "max" value.

Published property Position: integer read FPosition write SetPosition;

The current position of the track control.

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

Published property Orientation: TAdOrientation read FOrientation write SetOrientation;

The way the track control is orientated.

Published property OnChange: TAdNotifyEvent read FOnChange write FOnChange;

Event that is triggered when the position of the track control is changed.

SourceForge.net Logo


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