ComponentOne True DBInput Pro 8.0
CurrentPosition Property (TDBNumber)

 

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.

Syntax

control.CurrentPosition

Read-only at run time. Not available at design time.

Values

Description

Run Time

0 - Integer

dbiCurrentPosDecimal

1 - Decimal

dbiCurrentPosInteger

Remarks

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.

 

 


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

Product Support Forum  |  Documentation Feedback