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

# TTimeEdit.UsedFormatSettings

Gets the effective format settings used to format the value for the time edit control.

## Declaration

Source position: editbtn.pas line 756

`protected function TTimeEdit.UsedFormatSettings: TFormatSettings;`

## Function result

Format settings after the values in TimeFormat and TimeSeparator have been applied.

## Description

The return value contains the DefaultFormatSettings for the platform combined with the values assigned to the TimeFormat and TimeSeparator properties. UsedFormatSettings is called when a new value is stored in the Time property, and is used to format the Text displayed on the control.

Use TimeFormat to specify the short time format settings applied to the Time property. Use TimeSeparator to specify the time separator character used in the short time settings applied to the Time property.

## Version info

Added in LCL version 4.0.

## 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.
TTimeEdit.Text |  | Contains the formatted text used to represent the Time value for the control.
TTimeEdit.UsedTimeFormat |  | Gets the effective short time format used for the Time value in the control.
TTimeEdit.UsedTimeSeparator |  | Gets the effective time separator character used in the short time format settings.
DefaultFormatSettings
TFormatSettings