Sign in Join
FPDoc Onlineexperiment

TTimeEdit.UsedTimeFormat function

Member of TTimeEditprotectedIn unit EditBtn

Gets the effective short time format used for the Time value in the control.

Declaration

pascal
function UsedTimeFormat: string

Function result

Short time format used in the class instance.

Description

The return value contains the short time format used to format the value in the Text property. It defaults to the short time setting in the DefaultFormatSettings for the platform. The value in TimeFormat is substituted when an explicit value has been assigned to the property.

UsedTimeFormat is called from the UsedFormatSettings method, which occurs when a new value has been assigned to the Time property.

See TimeSeparator and UsedTimeSeparator for the separator character used in the short time format settings.

Added in LCL version 4.0.

See also

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