Class TAdCheckBox

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdCheckBox = class(TAdComponent)

Description

A simple CheckBox control.

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 Checked: Boolean read FChecked write SetChecked;
Published property Caption: String read FCaption write FCaption;
Published property Alignment: TAdAlignmentEx read FAlignment write FAlignment;
Published property GroupIndex: integer read FGroupIndex write SetGroupIndex;
Published property FontName;
Published property FontColor;

Description

Methods

Public constructor Create(AParent:TAdComponent); override;

Creates an instance of TAdCheckBoc

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 Checked: Boolean read FChecked write SetChecked;

Returns, wether the checkbox is checked or not. Set this property to check/uncheck the checkbox.

Published property Caption: String read FCaption write FCaption;

Defines the caption of the checkbox.

Published property Alignment: TAdAlignmentEx read FAlignment write FAlignment;

Sets the alignment of the checkbox.

Published property GroupIndex: integer read FGroupIndex write SetGroupIndex;

If groupindex is unequal zero, TAdCheckBox will behave like a radio button. It is grouped with all other checkboxes with the same group index on the same parent element.

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

Author

SourceForge.net Logo


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