Skip to main content

TcxCustomTimeEdit Class

Serves as the base class for classes that implement editors displaying time.

Declaration

TcxCustomTimeEdit = class(
    TcxCustomSpinEdit
)

Remarks

This class provides the base functionality for time editors (such as TcxTimeEdit). It is inherited from the TcxCustomSpinEdit class, which introduces the capability of editing values via spin buttons. The TcxCustomTimeEdit class declares a Time property, of type TTime, containing time values. A user can edit a time value either by typing it or by changing it with the help of spin buttons. Spin buttons allow the incrementing and decrementing of a selected time value portion: hours, minutes or seconds.

To adjust settings specific to time editors, use the Properties object. The Properties property allows you to define the time format, value alignment, read-only status and many others. Use the Style, StyleDisabled, StyleFocused and StyleHot properties to adjust the look & feel of an editor.

Do not create instances of TcxCustomTimeEdit. Use its descendants such as TcxTimeEdit or TcxDBTimeEdit instead.

See Also