Class TCastleIntegerEdit

Unit

Declaration

type TCastleIntegerEdit = class(TCastleEdit)

Description

Descendant of TCastleEdit specialized for editing integer numbers. Use Value instead of Text.

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public procedure SetFocused(const AValue: Boolean); override;
Public function PropertySections(const PropertyName: String): TPropertySections; override;

Properties

Published property Text stored false;
Published property TextTranslate default false;
Published property Value: Int64 read GetValue write SetValue default 0;
Published property Min: Int64 read FMin write FMin default 1;
Published property Max: Int64 read FMax write FMax default 0;

Description

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public procedure SetFocused(const AValue: Boolean); override;
 
Public function PropertySections(const PropertyName: String): TPropertySections; override;
 

Properties

Published property Text stored false;

In case of this descendant, Text is always derived from Value.

Published property TextTranslate default false;
 
Published property Value: Int64 read GetValue write SetValue default 0;
 
Published property Min: Int64 read FMin write FMin default 1;

Minimum and maximum limits. Applied only if Min <= Max, which is not the case by default.

Published property Max: Int64 read FMax write FMax default 0;
 

Generated by PasDoc 0.16.0.