TTimeEdit.UsedTimePMString function
Gets the suffix used for a post meridiem (after midday) time value in the control.
Declaration
function UsedTimePMString: stringFunction result
Suffix used for a post meridiem (after midday) time value when 12-hour clock values are used in time TimeFormat.
Description
UsedTimePMString is a
String function which returns the
suffix used for a
post meridiem time value when the UsedTimeFormat for
the control displays 12-hour clock values. UsedTimeAMString examines the
lowercase value returned from UsedTimeFormat to determine whether the value
'ampm' is used in the effective TimeFormat for the control.
If UsedTimeFormat contains 'ampm', the return value is set to the effective display suffix for a Time which occurs before midday / noon. This is the value from DefaultFormatSettings.TimePMString when TimePMString is empty, or the TimePMString property value when assigned. The default value in the DEFAULT_TIMEPMSTRING constant is used when the return value is unassigned (an empty string).
UsedTimePMString, along with UsedTimeAMString and
UsedTimeFormat, are used when a popup is displayed for the
Time value in the control.
See UsedTimeAMString for the effective value used for a ante
meridiem (after midday) time value when a 12-hour clock is used.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
