Gets the suffix used for a post meridiem (after midday) time value in the control.
Source position: editbtn.pas line 755
protected function TTimeEdit.UsedTimePMString: string; |
Suffix used for a post meridiem (after midday) time value when 12-hour clock values are used in time TimeFormat.
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.
|
Specifies the time format used to generate the display Text for the time edit control. |
|
|
Gets the effective short time format used for the Time value in the control. |
|
|
Gets the suffix used for an ante meridiem (before midday) time value in the control. |
|
| Version 4.4 | Generated 2025-11-08 | Home |