Reference > TDBMask Control > TDBMask Control Properties > Value Property (TDBMask) |
Value Property (TDBMask)
This property returns or sets the underlying value which appears as a text string in the control.
TDBMask.Value= string
Read/Write at run time and design time.
The default setting for the Value property will be given default names such as dbiMask1, dbiMask2, and so forth when first created. This is the default property of the dbiMask control.
When the Value property is changed, the changes will also be reflected in the Text property.
The characters set to the Value property must match the input mask specified with the Format property. Otherwise, the characters will be treated as an error.
The Value property will be automatically set to a zero-length string when modifying the Format or the LookupMode properties.
See Also