Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Row control in grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Row control in grid
Divers
Thread ID:
00752701
Message ID:
00752701
Vues:
51
I have a 2-column grid, (with a table as the record source), with the first column containing a description, and the second column contains a single digit, (valid entries are 1, 2, and 3). The first column is disabled, so when the grid has focus, column 2 is in focus.

In order to "auto-advance" to the next row, I have code in the keypress event to test for the enter key or tab key to move to the next row, and it works. In the valid event, I check for valid code, (1/2/3). If the entry is valid, I want to advance to the next row, and stay on the current if it is invalid.

The keypress event is firing before the valid event, and the row advance is not done after the valid entry is determined.

Can someone help?

Thanks,

Harry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform