TTimeEdit.Is12HourMode function
Indicates whether the effective TimeFormat for the control reflects 12-hour clock values with AM and PM designations.
Declaration
function Is12HourMode: BooleanDescription
Is12HourMode is a
Boolean function which indicates that
the TimeFormat for control displays values with AM and PM suffixes for 12-hour
clock values. It examines the effective time format returned by the
UsedTimeFormat method and returns
True if the lowercase
TimeFormat value contains one of the following:
- 'am/pm'
- 'a/p'
- 'ampm'
Is12HourMode, along with UsedTimeAMString and
UsedTimePMString, are used when a popup is displayed for the
Time value in the control.
Added in LCL version 4.4.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
