Skip to main content

TcxSpinEdit Class

Represents a spin editor.

Declaration

TcxSpinEdit = class(
    TcxCustomSpinEdit
)

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 real). It is also possible to enter a value directly by typing it. The following image demonstrates a spin editor painted in UltraFlat style.

TcxSpinEdit publishes properties and events inherited from base classes.

TcxCustomSpinEdit is a base class for spin editors. To access a value displayed by a spin editor use the Value property. It specifies a 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 TcxSpinEditProperties class description to learn more.

See Also