Class TNumEdit97 (unit AddOnTB97)

Inherits from

TPlusEdit97

////////////////////////////////////////////////////////////////////////////// // TNumEdit97 // //////////////////////////////////////////////////////////////////////////////

Constructors


constructor Create(AOwner: TComponent);

////////////////////////////////////////////////////////////////////////////// // TNumEdit97 // //////////////////////////////////////////////////////////////////////////////


Functions

procedure CMExit(var Message: TCMExit);


function IsValidChar(Key: Char): Boolean;


procedure KeyPress(var Key: Char);


function CheckValue (NewValue: Double): Double;


function GetValue: Double;


procedure SetDigits(NewValue: Byte);


procedure SetDisplayFormat(NewValue: TFloatFormat);


procedure SetValue(NewValue: Double);


Properties

property Decimal : Byte


property DisplayFormat : TFloatFormat


property MaxValue : Double

default 0;

property MinValue : Double


property Value : Double


Events

Variables

FDigits : Byte;


FDisplayFormat : TFloatFormat;


FMaxValue : Double;


FMinValue : Double;


FValue : Double;



Constructors


constructor Create(AOwner: TComponent);

////////////////////////////////////////////////////////////////////////////// // TNumEdit97 // //////////////////////////////////////////////////////////////////////////////


Functions


procedure CMExit(var Message: TCMExit);


function IsValidChar(Key: Char): Boolean;


procedure KeyPress(var Key: Char);


function CheckValue (NewValue: Double): Double;


function GetValue: Double;


procedure SetDigits(NewValue: Byte);


procedure SetDisplayFormat(NewValue: TFloatFormat);


procedure SetValue(NewValue: Double);


Properties


property Decimal : Byte


property DisplayFormat : TFloatFormat


property MaxValue : Double

default 0;


property MinValue : Double


property Value : Double


Events


Variables


FDigits : Byte;


FDisplayFormat : TFloatFormat;


FMaxValue : Double;


FMinValue : Double;


FValue : Double;