Unit 'LSControls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#pl_solutions]

TLSCustomNumericEdit

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: LSControls.pas line 1167

type TLSCustomNumericEdit = class(TLSCustomEdit,ILSValidationComponent)

protected

  function UpdateRound; virtual;

  

  procedure Loaded; override;

  

  procedure KeyPress(); override;

  

  procedure CMTextChanged(); message;

  

  procedure CMEnter(); message;

  

  procedure CMExit(); message;

  

public

  constructor Create(); override;

  

  procedure EditingDone; override;

  

  procedure Clear;

  

  function DefaultDisplayFormat; virtual;

  

  procedure UpdateText; virtual;

  

  procedure CheckMinMaxValue;

  

  property AsInteger: LongInt; [r]

  

  property Value: Extended; [rw]

  

  property Digits: Integer; [rw]

  

  property DisplayFormat: string; [rw]

  

  property FormatStyle: TLSNumericEditFormatStyle; [rw]

  

  property FloatFormat: TFloatFormat; [rw]

  

  property InputType: TLSNumericEditInputType; [rw]

  

  property MinValue: Extended; [rw]

  

  property MaxValue: Extended; [rw]

  

  property Precision: Integer; [rw]

  

  property Round: Boolean; [rw]

  

  property RoundingDigits: Integer; [rw]

  

  property RoundingMode: TFPURoundingMode; [rw]

  

end;

Inheritance

TLSCustomNumericEdit

  

|

TLSCustomEdit,ILSValidationComponent

  

|

TObject,ILSValidationComponent



CT Web help

CodeTyphon Studio