Class TAdLabel

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdLabel = class(TAdComponent)

Description

A label component.

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 Caption: string read FCaption write FCaption;
Published property TextPos: TAdTextPos read FTextPos write FTextPos;
Published property Alignment: TAdAlignment read FAlignment write FAlignment;
Published property WordWrap: boolean read FWordWrap write FWordWrap;
Published property ClipText: boolean read FClipText write FClipText;
Published property FontName;
Published property FontColor;

Description

Methods

Public constructor Create(AParent:TAdComponent); override;

Creates an instance of TAdLabel.

Public procedure LoadFromXML(aroot:TAdSimpleXMLElem); override;

Loads the settings from XML.

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

Saves the settings to XML

Properties

Published property Caption: string read FCaption write FCaption;

The caption of the label.

Published property TextPos: TAdTextPos read FTextPos write FTextPos;

The horizontal position of the text.

Published property Alignment: TAdAlignment read FAlignment write FAlignment;

The vertical alignment of the text.

Published property WordWrap: boolean read FWordWrap write FWordWrap;

Defines, whether the text should be wrapped.

Published property ClipText: boolean read FClipText write FClipText;

Defines, whether the text should be clipped when it runs out of the bounds of the component.

Published property FontName;

Defines the name of the font.

Published property FontColor;

Degines the color of the font.

SourceForge.net Logo


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