ComponentOne True DBInput Pro 8.0
CurrentField Property (TDBDate)

This property returns a number that indicates which field the cursor is currently placed in. If the cursor is placed on a literal, a -1 will be returned. If the focus moves out of the control, the position where the cursor was last contained will be returned.

Syntax

TDBDate.CurrentField

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

Values

Description

Run Time

0 - Era

dbiCurFieldEra

1 - Year

dbiCurFieldYear

2 - Month

dbiCurFieldMonth

3 - Day

dbiCurFieldDay

Remarks

This property is not available when the control allows free format entry, and when the control displays the Null and the Era format patterns specified in the Format property. A -1 will be returned in these cases.

See Also

CursorPosition Property (TDBDate)

Format Property (TDBDate)

 

 


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

Product Support Forum  |  Documentation Feedback