Reference > TDBTime Control > TDBTime Control Properties > DataProperty Property (TDBTime) |
DataProperty Property (TDBTime)
Sets/returns which of the control's data properties will be bound to the data source.
control.DataProperty= value
Read and write at run time and design time.
Design Time |
Run Time |
0 - Value Property (Default) |
dbiValueProperty |
1 - Number Property |
dbiNumberProperty |
If set to 0-Value, the serial value set in the Value property will be the format used for storing data into the appropriate data source. In this case, a field defined as a Date type is recommended for binding and connecting.
If set to 1-Number, the long integer formatted value - hhnnss format - in the Number property will be used for storing data into the data source. In this case, a field defined as a Number (Long) is recommended.
See Also