Reference > TDBTime Control > TDBTime Control Properties > DisplayText Property (TDBTime) |
DisplayText Property (TDBTime)
Returns the text displayed in the control.
TDBTime.DisplayText
Read-only at run time. Not available at design time.
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
DisplayFormat Property (TDBTime)