Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving down in a grid without using DOWNARROW
Message
 
 
To
19/07/2000 05:12:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00394228
Message ID:
00394229
Views:
12
>i have a grid with 5 columns. I am on the first record and i move with ENTER until column5 and when i press ENTER again i want to go to the first column on the next record of the grid, not on the first column of the actual record.
>I try to put in the valid event of column5.text1 SKIP, but it not working.
>I try to put in the lostfocus event of column5.text1 thisform.command1.setfocus and in the command1.gotfocus SKIP and thisform.grid1.setfocus but it's skiping 2 record !!!
>
>Please HELP MEEEEEEEEEEEE !!!!

In the KeyPress event of the textbox in Column5, simply put:
IF nKeyCode = 13
    KEYBOARD "{DNARROW}"
ENDIF
HTH
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform