Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with lost focus of textbox in grid column
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00949487
Message ID:
00949520
Vues:
27
Chuck,

Try trapping the keypress in the lostfocus and, if it's CHR(24), issuing an INKEY() before your KEYBOARD command. Or just skip the KEYBOARD command in that case.

Regards,
Jim

>I am using VFP6 and have a grid on a form that is used for quick input into 5 fields. Problem is the user wants the cursor to automatically go to the next row after entering the last column which is an amount. I have tried to use the "KEYBOARD '{DNARROW}'" in the lostfocus and beforerowcolchange. The BRCC does work except when the user tries to edit an amount and presses the down arrow, the cursor jumps to last last entry and adds 2 blank records, not good. There are no "this.refresh" commands in the grid. Is there any way to get around that behavior?
>
>Thanks, Chuck
Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform