Class TAdEdit

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdEdit = class(TAdComponent)

Description

A simple edit component.

Hierarchy

Overview

Methods

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

Properties

Public property SelStart: integer read FSelStart write FSelStart;
Public property CursorPos: integer read FCursorPos;
Public property SelCount: integer read GetSelCount;
Published property Text: string read FText write FText;
Published property FontName;
Published property FontColor;

Description

Methods

Public constructor Create(AParent:TAdComponent); override;

Creates an instance of TAdEdit.

Public procedure LoadFromXML(aroot:TAdSimpleXMLElem); override;

Loads the settings from XML.

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

Stores the settings in XML.

Properties

Public property SelStart: integer read FSelStart write FSelStart;

The start of the selection. If nothing is selected, "SelStart" will be equal to "CursorPos"

Public property CursorPos: integer read FCursorPos;

The position of the edit field.

Public property SelCount: integer read GetSelCount;

The count of selected chars.

Published property Text: string read FText write FText;

The text, that is written in the edit field.

Published property FontName;

The font the text should be written in.

Published property FontColor;

The color the text should be written in.

SourceForge.net Logo


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