Back to Devexpress

TcxCustomSpinEdit Class

vcl-cxspinedit-4a0460f1.md

latest2.8 KB
Original Source

TcxCustomSpinEdit Class

Represents a base class for spin editors.

Declaration

delphi
TcxCustomSpinEdit = class(
    TcxCustomMaskEdit
)

Remarks

A spin editor is a control that enables editing numerical values by clicking so-called “spin buttons” (up and down arrows displayed within an editor). They allow incrementing and decrementing a number by some amount (integer or floating-point). It is also possible to enter a value directly by typing it.

TcxCustomSpinEdit is a base class for spin editors which are presented by TcxSpinEdit, TcxDBSpinEdit, and TcxCustomTimeEdit controls. To access a value displayed by a spin editor, use the Value property. It specifies the currently edited value. When a user either exits an editor or presses the Enter key, this value is stored in the EditValue property.

The Properties object defines different settings specific to spin editors. Refer to the TcxCustomSpinEditProperties class description to learn more.

Use the Style, StyleDisabled, StyleFocused and StyleHot properties to adjust the look & feel of an editor. Working with styles is discussed in the TcxCustomEditStyle class topic.

Inheritance

Show 14 items

TObject TPersistent TComponent TControl TWinControl TCustomControl TcxCustomControl TcxControl TcxContainer TcxCustomEditContainer TcxCustomEdit TcxCustomTextEdit TcxCustomMaskEdit TcxCustomSpinEdit

See Also

TcxCustomEditStyle

TcxCustomMaskEdit

TcxCustomEdit.EditValue

TcxCustomSpinEdit Members

cxSpinEdit Unit