Sign in Join
FPDoc Onlineexperiment

TTimeEdit.UsedFormatSettings function

Member of TTimeEditprotectedIn unit EditBtn

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

Declaration

pascal
function 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.

Added in LCL version 4.0.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.