ComponentOne True DBInput Pro 8.0
MinusSign Property (TDBNumLite)

 

Reference> TDBNumLite Control> TDBNumLite Control Properties> MinusSign Property (TDBNumLite)

MinusSign Property (TDBNumLite)

The MinusSign property allows you to customize patterns for displaying negative values.

Syntax

TDBNumLite.MinusSign= value

Read/Write at run time and design time.

Values

Design Time

Run Time

0 - Braces

dbiParenthesesAsMinus

1 - Before Number (Default)

dbiMinusInFront

2 - After Number

dbiMinusInBack

Remarks

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

DecimalPoint Property (TDBNumLite)

 

 


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

Product Support Forum  |  Documentation Feedback