Reference > TDBNumber Control > TDBNumber Control Properties > ClearAction Property (TDBNumber) |
ClearAction Property (TDBNumber)
This property determines whether the underlying value is set to zero or Null when a clear action is invoked.
control.ClearAction= value
Read/Write at run time and design time.
Design Time |
Run Time |
0 - Zero (Default) |
dbiZero |
1 - Null |
dbiNull |
This property applies when pressing the key assigned to the Clear property of the Key object or when deleting the contents within the control, and when calling the ClearControl method or setting a zero-length string to the Text property (may vary depending on the format patterns).
See Also