[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'EditBtn' (#lcl)

# TTimeEdit.Text

Contains the formatted text used to represent the Time value for the control.

## Declaration

Source position: editbtn.pas line 820

`published property TTimeEdit.Text : TCaption;`

## Description

Text is a published property in TTimeEdit. It contains the formatted text displayed for the Time value in the control. It is automatically updated when a new value is assigned to the Time, TimeFormat, or TimeSeparator properties. It contains the result from the FormatDateTime routine called using the Time value and format settings for the control.

Use TimeFormat to specify a FormatDateTime-compatible string used to generate the value for the Text property.

Use TimeSeparator to specify the delimiter character used between time parts in the TimeFormat.

## See also

TTimeEdit.Time |  | Represents the time value in the control.
TTimeEdit.TimeFormat |  | Specifies the time format used to generate the display Text for the time edit control.
TTimeEdit.TimeSeparator |  | Specifies the separator character used to delimit time parts in the format settings applied to the control.
TCustomAbstractGroupedEdit.Text |  | String with the text or caption for the control.