Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Have ENTER key move cursor down?
Message
De
11/02/1999 15:50:12
 
 
À
11/02/1999 07:19:29
Bill Tetrault
Northern Trust Value Investors
West Palm Beach, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00186425
Message ID:
00186742
Vues:
18
>I'm using VFP6 form designer and have a grid control bound to a DBF and would like the user to enter values into, lets say colomn 4 of 6, and when the hit enter move to next ROW.
>Any help would help would be appreciated.

If I read you correctly, you start off in row x, col y. When you press Enter (assuming this does not fire off any default buttons on your form), you want to go to row x+1, but stay in column y.

Unless this is a must-have, deal-breaking, yes-I-know-it's-not-Windows-standard-but-I-don't-care requirement by your client, teaching them to hit the down arrow instead of Enter will probably be your best bet. That is, until FoxPro gives us real X and Y references for our row and columns. In that case, you could simply do something to the effect of:
CurrentCell = CellXY(CurrentRow + 1, CurrentCol).

KISS (Keep it Simple Software),

Bill
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform