ComponentOne True DBInput Pro 8.0
MidnightMode Property (TDBTime)

 

Reference> TDBTime Control> TDBTime Control Properties> MidnightMode Property (TDBTime)

MidnightMode Property (TDBTime)

Syntax

object.MidnightMode= value

Read/Write at run time. Not available at design time.

Values

Design Time

Run Time

0 - Midnight as 0 (Default)

dbiMidnightAs0

1 - Midnight as 24

dbiMidnightAs24

Remarks

The MidnightMode property determines whether midnight should be expressed as 0 o'clock (00:00:00), or 24 o'clock (24:00:00). This property can affect the Hour24 property. This property can also affect the DisplayText property when the DisplayFormat property is set to the 24-hour format ("hh:nn:ss").

Note that the "24:00:00" midnight expression is available for displaying only when moving the focus away from the control, and can not be used within the input mask when entering data.

See Also

Value Property (TDBDateX)

Value Property (TDBTime)

DisplayFormat Property (TDBTime)

DisplayText Property (TDBTime)

Hour24 Property (TDBDateX)

Hour Property (TDBDateX)

Hour Property (TDBTime)

Text Property (TDBDate)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback