ComponentOne True DBInput Pro 8.0
ClearAction Property (TDBNumber)

 

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.

Syntax

control.ClearAction= value

Read/Write at run time and design time.

Values

Design Time

Run Time

0 - Zero (Default)

dbiZero

1 - Null

dbiNull

Remarks

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

Format Property (TDBNumber)

Text Property (TDBNumber)

Text Property (TDBNumLite)

DisplayFormat Property (TDBNumber)

 

 


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

Product Support Forum  |  Documentation Feedback