ComponentOne True DBInput Pro 8.0
DisplayText Property (TDBTime)

 

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

DisplayText Property (TDBTime)

Returns the text displayed in the control.

Syntax

TDBTime.DisplayText

Read-only at run time. Not available at design time.

Remarks

The DisplayText property returns a formatted text string based on the DisplayFormat property, and is dependent to the Hour12Mode property, which determines the 12-hour mode when the DisplayFormat is set to the 12-hour format ("hh:nn:ss AM/PM").

If a zero-length string is set to the DisplayFormat property, the format set to the Format property will be applied for the displaying format.

See Also

Value Property (TDBTime)

DisplayFormat Property (TDBTime)

MidnightMode Property (TDBTime)

Hour12Mode Property (TDBTime)

 

 


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

Product Support Forum  |  Documentation Feedback