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

TTimeEdit.UsedTimeFormat

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

Declaration

Source position: editbtn.pas line 752

protected function TTimeEdit.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.

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.UsedFormatSettings

  

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

TTimeEdit.UsedTimeSeparator

  

Gets the effective time separator character used in the short time format settings.

DefaultFormatSettings

TFormatSettings


Version 4.0 Generated 2025-05-03 Home