Class TIntegerEdit (unit ValCtrls)

Inherits from

TValidCustomEdit

Constructors


constructor Create( AOwner: TComponent );

Public declarations

**************************************************************************}



Functions

function Validate: Boolean;

Protected declarations

function GetValue: Longint;


procedure SetMaxValue( AMaxValue: Longint );


procedure SetMinValue( AMinValue: Longint );


procedure SetValue( AValue: Longint );

Apply Min/Max bounds *) { Private declarations

procedure UpdateValue;


Properties

property AllowEmpty :


property AutoSelect :


property BeepOnInvalid :


property BorderStyle :


property MaxValue : Longint


property MinValue : Longint

Published declarations

property ReadOnly :


property UseBounds : Boolean


property Value : Longint


property IsEmpty :


property IsValid :


Events

event OnChange :


event OnEnter :


event OnExit :


event OnInvalid :


Variables

FMaxValue : Longint;

Minimum value for field

FMinValue : Longint;


FUseBounds : Boolean;

Current value for field

FValue : Longint;

Maximum value for field


Constructors


constructor Create( AOwner: TComponent );

Public declarations

**************************************************************************}


Functions


function Validate: Boolean;

Protected declarations


function GetValue: Longint;


procedure SetMaxValue( AMaxValue: Longint );


procedure SetMinValue( AMinValue: Longint );


procedure SetValue( AValue: Longint );

Apply Min/Max bounds *) { Private declarations


procedure UpdateValue;


Properties


property AllowEmpty :


property AutoSelect :


property BeepOnInvalid :


property BorderStyle :


property MaxValue : Longint


property MinValue : Longint

Published declarations


property ReadOnly :


property UseBounds : Boolean


property Value : Longint


property IsEmpty :


property IsValid :


Events


event OnChange :


event OnEnter :


event OnExit :


event OnInvalid :


Variables


FMaxValue : Longint;

Minimum value for field


FMinValue : Longint;


FUseBounds : Boolean;

Current value for field


FValue : Longint;

Maximum value for field