Reference > TDBNumber Control > TDBNumber Control Properties > CurrentPosition Property (TDBNumber) |
CurrentPosition Property (TDBNumber)
This property returns a number that indicates whether the cursor is currently placed in the integral or the decimal places.
control.CurrentPosition
Read-only at run time. Not available at design time.
Description |
Run Time |
0 - Integer |
dbiCurrentPosDecimal |
1 - Decimal |
dbiCurrentPosInteger |
If the cursor is placed on a literal, Zero or the Null format pattern, a -1 will be returned.
If the focus moves out of the control, the position where the cursor contained the last will be returned.