Class TCastleIntegerEdit

Unit

Declaration

type TCastleIntegerEdit = class(TCastleEdit)

Description

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

Source: ui/castlecontrols_edit.inc (line 244).

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 stored IsStoredValue nodefault;
Published property Min: Int64 read FMin write FMin stored IsStoredMin nodefault;
Published property Max: Int64 read FMax write FMax stored IsStoredMax nodefault;

Description

Methods

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Source: ui/castlecontrols_edit.inc (line 258).

Public procedure SetFocused(const AValue: Boolean); override;

This item has no description. Showing description inherited from TCastleUserInterface.SetFocused.

Called when this control becomes or stops being focused, that is: under the mouse cursor and will receive events.

This updates Focused property. This also calls OnInternalMouseEnter / OnInternalMouseLeave.

Source: ui/castlecontrols_edit.inc (line 259).

Public function PropertySections(const PropertyName: String): TPropertySections; override;

This item has no description. Showing description inherited from TCastleComponent.PropertySections.

Section where to show property in the editor.

Source: ui/castlecontrols_edit.inc (line 260).

Properties

Published property Text stored false;

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

Source: ui/castlecontrols_edit.inc (line 263).

Published property TextTranslate default false;

This item has no description. Showing description inherited from TCastleEdit.TextTranslate.

Should the Text be localized (translated into other languages). Determines if the property is enumerated by TCastleComponent.TranslateProperties, which affects the rest of localization routines.

Source: ui/castlecontrols_edit.inc (line 264).

Published property Value: Int64 read GetValue write SetValue stored IsStoredValue nodefault;

Current value, default 0.

Source: ui/castlecontrols_edit.inc (line 267).

Published property Min: Int64 read FMin write FMin stored IsStoredMin nodefault;

Minimum value, default 1. Applied only if Min <= Max, which is not the case by default.

Source: ui/castlecontrols_edit.inc (line 271).

Published property Max: Int64 read FMax write FMax stored IsStoredMax nodefault;

Minimum value, default 1. Applied only if Min <= Max, which is not the case by default.

Source: ui/castlecontrols_edit.inc (line 275).


Generated by PasDoc 0.17.0.snapshot.