Reference > TDBMask Control > TDBMask Control Properties > DataProperty Property (TDBMask) |
DataProperty Property (TDBMask)
Sets/returns which of the control's data properties will be bound to the data source.
object.DataProperty= value
Read/Write at run time and design time.
Design Time |
Run Time |
0 - Value Property (Default) |
dbiValueProperty |
1 - Text Property |
dbiTextProperty |
If set to 0-Value, the text excluding the literals set in the Value property will be the format used for storing data into the appropriate data source.
If set to 1-Text, the text including the literals set in the Text property will be used for storing data into the data source.
In either case, a field defined as a Text type is recommended.
See Also