Back to Devexpress

TcxTimeEdit Class

vcl-cxtimeedit.md

latest2.6 KB
Original Source

TcxTimeEdit Class

Represents an editor displaying time values.

Declaration

delphi
TcxTimeEdit = class(
    TcxCustomTimeEdit
)

Remarks

The TcxTimeEdit class represents an editor which allows editing time values by typing directly or via spin buttons (up and down arrows). Spin buttons increment or decrement the time value portion (hours, minutes or seconds) a user indicates with the cursor. The following image demonstrates the time edit painted in the native style:

To set/get a time value, use the Time property of typeTTime.

The Properties object defines settings specific to time editors and this 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. Working with styles is discussed in the TcxCustomEditStyle class topic.

Inheritance

Show 16 items

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

See Also

TcxDBTimeEdit

Editor Properties

Integrated Touch Gesture Support

TcxTimeEdit Members

cxTimeEdit Unit