Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Row control in grid
Message
De
13/02/2003 10:56:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00752701
Message ID:
00752706
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
>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

Harry,
What about using lostfocus instead of valid+keypress.
or grid.arcc, brcc
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform