ComponentOne True DBInput Pro 8.0
DisplayText Property (TDBMask)

 

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

DisplayText Property (TDBMask)

Returns the text displayed in the control.

Syntax

TDBMask.DisplayText

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

Remarks

Similar to the Text property, the DisplayText also returns the text and the literals including the prompt characters displayed in the control based on the Format property. When the two Empty format patterns of the input mask differ, setting the underlying value to a zero-length string will cause the DisplayText property to return a text string based on the 3rd pattern, which is used to express empty values when moving the focus away.

If both of the Empty patterns (format when the control has the focus and without the focus) defined in the Format property are equivalent, the DisplayText and the Text property will also return the same text strings.

See Also

Format Property (TDBMask)

Text Property (TDBMask)

 

 


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

Product Support Forum  |  Documentation Feedback