Class TAdButton

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdButton = class(TAdComponent)

Description

A simple gui button.

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;

Properties

Public property State: TAdButtonState read FState;
Published property Caption: string read FCaption write FCaption;
Published property FontName;
Published property FontColor;

Description

Methods

Public constructor Create(AParent:TAdComponent); override;

Creates a new instance of TAdButton.

Public destructor Destroy; override;

Destroys the instance of TAdButton.

Public procedure LoadFromXML(aroot:TAdSimpleXMLElem); override;

Loads the settings from XML.

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

Saves the settings to XML.

Properties

Public property State: TAdButtonState read FState;

Returns the state the button is currently in.

Published property Caption: string read FCaption write FCaption;

Defines the caption of the button

Published property FontName;

Defines the font, which is used to draw the caption

Published property FontColor;

Defines the font color, which is used to draw the caption

SourceForge.net Logo


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