Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving down in a grid without using DOWNARROW
Message
 
À
19/07/2000 05:12:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00394228
Message ID:
00394229
Vues:
11
>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."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform