Class TrEditNum

Unit

Declaration

type TrEditNum = class(TButtonedEdit)

Description

enhanced TButtonedEdit component which provides functionality for editing of integer or float number

Hierarchy

  • TButtonedEdit
  • TrEditNum

Overview

Methods

Public procedure StepUp;
Public procedure StepDown;

Properties

Published property Style: enStyle read FStyle write FStyle default enInteger;
Published property MinValue: extended read FMinValue write FMinValue;
Published property MaxValue: extended read FMaxValue write FMaxValue;
Published property StepValue: extended read FStepValue write FStepValue;
Published property StepOnly: Boolean read FStepOnly write FStepOnly default false;
Published property Format: string read FFormat write SetFormat;
Published property Value: extended read GetValue write SetValue;
Published property AsInteger: integer read GetAsInteger write SetAsInteger stored false;

Description

Methods

Public procedure StepUp;

increment value by step value

Public procedure StepDown;

decrement value by step value

Properties

Published property Style: enStyle read FStyle write FStyle default enInteger;

Defines type of edit value - Integer or Float

Published property MinValue: extended read FMinValue write FMinValue;

Minimal value which can be entered

Published property MaxValue: extended read FMaxValue write FMaxValue;

Maximal value which can be entered

Published property StepValue: extended read FStepValue write FStepValue;

if user click to arrow UP or DOWN value is inc/de crement by step value

Published property StepOnly: Boolean read FStepOnly write FStepOnly default false;

Defines whether only values correspond with step value can be entered

Published property Format: string read FFormat write SetFormat;

Defines format of number

Published property Value: extended read GetValue write SetValue;

Get or Set number value

Published property AsInteger: integer read GetAsInteger write SetAsInteger stored false;

Get or Set integre value


Generated by PasDoc 0.15.0.