Class TAdForm

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdForm = class(TAdComponent)

Description

A formular 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 procedure Close;

Properties

Public property CloseButton: TAdSkinBtn read FCloseButton;
Published property OnClose: TCloseEvent read FOnClose write FOnClose;
Published property Caption: string read FCaption write FCaption;
Published property Center: boolean read FCenter write SetCenter;
Published property ShowCloseButton: boolean read GetShowCloseButton write SetShowCloseButton;
Published property Movable: boolean read FMovable write FMovable;
Published property FontName;
Published property FontColor;

Description

Methods

Public constructor Create(AParent:TAdComponent); override;

Creates an instance of TAdForm.

Public destructor Destroy; override;

Destroys the instance of TAdForm.

Public procedure LoadFromXML(aroot:TAdSimpleXMLElem); override;

Loads the form data from XML.

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

Saves the from data to XML.

Public procedure Close;

Closes the form

Properties

Public property CloseButton: TAdSkinBtn read FCloseButton;

Link to the close button, which is displayed in the top-right edge.

Published property OnClose: TCloseEvent read FOnClose write FOnClose;

Event, which is called when the form is closed.

Published property Caption: string read FCaption write FCaption;

The caption of the formular.

Published property Center: boolean read FCenter write SetCenter;

Specifies, wether the form should be in the center of its parent element.

Published property ShowCloseButton: boolean read GetShowCloseButton write SetShowCloseButton;

Specifies, wether the close button should be shown.

Published property Movable: boolean read FMovable write FMovable;

Specifies, wether the form is moveable.

Published property FontName;

Specifies the name of the font.

Published property FontColor;

Specifies the color of the font.

SourceForge.net Logo


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