Class TValidatorEdit (unit Validat)

Inherits from

TEdit

TValidatorEdit Component

Constructors



Functions

procedure Change;

Check for characters when the Text property changes, e.

procedure KeyPress(var Key : Char);

Eventhandlers

Check what characters are being entered and suppress them if necessary


procedure CheckText;

Determines what is done with the characters {Internal method

**************************************************************************** TValidatorEdit ****************************************************************************} {Internal method of TValidatorEdit


procedure SetKeys(AKeys : string);

Property method

Specify the characters either allowed or forbidden


procedure SetUseKeys(AUseKeys : TUseKeys);

Specify what to do with those characters

Properties

property Keys : string

Published Property

property UseKeys : TUseKeys


Events

Variables

FKeys : string;


FUseKeys : TUseKeys;

Characters that have to be checked


Constructors


Functions


procedure Change;

Check for characters when the Text property changes, e.g. because a string is pasted from the clipboard


procedure KeyPress(var Key : Char);

Eventhandlers

Check what characters are being entered and suppress them if necessary


procedure CheckText;

Determines what is done with the characters {Internal method

**************************************************************************** TValidatorEdit ****************************************************************************} {Internal method of TValidatorEdit


procedure SetKeys(AKeys : string);

Property method

Specify the characters either allowed or forbidden


procedure SetUseKeys(AUseKeys : TUseKeys);

Specify what to do with those characters


Properties


property Keys : string

Published Property


property UseKeys : TUseKeys


Events


Variables


FKeys : string;


FUseKeys : TUseKeys;

Characters that have to be checked