Reference > TDBNumLite Control > TDBNumLite Control Properties > MinusSign Property (TDBNumLite) |
MinusSign Property (TDBNumLite)
The MinusSign property allows you to customize patterns for displaying negative values.
TDBNumLite.MinusSign= value
Read/Write at run time and design time.
Design Time |
Run Time |
0 - Braces |
dbiParenthesesAsMinus |
1 - Before Number (Default) |
dbiMinusInFront |
2 - After Number |
dbiMinusInBack |
You can also toggle the control's value between positive and negative by pressing the minus ("-" hyphen) key or deleting the minus signs. Note that the plus ("+") key will cause the value to change only from negative to positive.
When the MinusSign is set to 0-Parentheses negative values are displayed as a numeric value between the parentheses ("()"); deleting one parenthesis will cause the other one to be deleted also.
See Also