ID: Q99549
2.5x 2.6x | 2.00 2.5x 2.6x
WINDOWS | MS-DOS
kbprg kbfixlist kbbuglist
The information in this article applies to:
The variable _CUROBJ does not return the cursor to the beginning of a GET field when it is used in the WHEN clause or the VALID clause of the GET field and the LEFT ARROW key is pressed. This puts the cursor at the far right of the field instead of the far left.
The expected behavior is that the cursor would be placed at the beginning of the field regardless of whether the user pressed the ENTER, UP ARROW, DOWN ARROW, RIGHT ARROW, or LEFT ARROW key. For example, if the following line is placed in the WHEN or VALID clause
_CUROBJ=_CUROBJ+1
and if the LEFT ARROW key is used to move to another field, the cursor is
then placed at the far right of the field.
To work around this behavior, do one of the following:
NOTE: This solution works only if the Select Field On Entry check box is selected.
-or-
KEYBOARD '{SHIFT+LEFTARROW}'
KEYBOARD '{RIGHTARROW}'
KEYBOARD '{HOME}'
NOTE: This solution works only if the Select Field On Entry check box is cleared (not selected).
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0 for Windows.
Additional reference words: VFoxWin fixlist3.00 FoxDos FoxWin 2.00 2.50 2.50a 2.50b 2.60 2.60a buglist2.50 buglist2.50a buglist2.50b buglist2.60 buglist2.60a curobj KBCategory: kbprg kbfixlist kbbuglist KBSubcategory: FxprgGeneral
Keywords : FxprgGeneral kbbuglist kbfixlist
Version : 2.5x 2.6x | 2.00 2.5x 2.6x
Platform : MS-DOS WINDOWS
Solution Type : kbfix
Last Reviewed: September 24, 1997