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

TTimeEdit.TimeAMString

Specifies the value displayed for a 12-hour time value prior to midday (Noon).

Declaration

Source position: editbtn.pas line 808

published property TTimeEdit.TimeAMString : string
  index 0
  read GetTimeAMPMString
  write SetTimeAMPMString;

Description

TimeAMString contains the ante meridiem ("before midday") value displayed for a 12-hour Time value. It can be used to override the TimeAMString setting provided in DefaultFormatSettings. Its value is used in the UsedFormatSettings method, and applied when the feature is enabled using one of the corresponding format specifiers in the TimeFormat property.

See TimeFormat for more information about the available time format specifiers and their usage.

Use TimePMString for the post meridiem value.

Version info

Added in LCL version 4.0.

See also

TTimeEdit.TimePMString

  

Specifies the value displayed for a 12-hour time value after midday (Noon).

TTimeEdit.UsedFormatSettings

  

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

TTimeEdit.TimeFormat

  

Specifies the time format used to generate the display Text for the time edit control.

TTimeEdit.Time

  

Represents the time value in the control.

DefaultFormatSettings


Version 4.0 Generated 2025-05-03 Home