Unit 'EditBtn' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TTimeEdit.Is12HourMode

Indicates whether the effective TimeFormat for the control reflects 12-hour clock values with AM and PM designations.

Declaration

Source position: editbtn.pas line 751

protected function TTimeEdit.Is12HourMode: Boolean;

Description

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:

Is12HourMode, along with UsedTimeAMString and UsedTimePMString, are used when a popup is displayed for the Time value in the control.

Version info

Added in LCL version 4.4.

See also

TTimeEdit.UsedTimeFormat

  

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

TTimeEdit.UsedTimeAMString

  

Gets the suffix used for an ante meridiem (before midday) time value in the control.

TTimeEdit.UsedTimePMString

  

Gets the suffix used for a post meridiem (after midday) time value in the control.

TTimeEdit.Time

  

Represents the time value in the control.


Version 4.4 Generated 2025-11-08 Home