Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Issues with Keypress Event and Grids
Message
De
16/09/2004 13:38:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Issues with Keypress Event and Grids
Divers
Thread ID:
00943030
Message ID:
00943030
Vues:
58
Hello all

VFP8, 2 Forms


Here's the idea:
Form 1 gets initial data (batch number, remit number range) and then calls Form 2.

Form 2 uses a grid to allow data entry of money amounts. I've got a keypress event at the cell level. This event checks to see if the 'Enter' key was pressed, and if so - does a Down Arrow and then a Left Arrow. Basically I need the 'Enter' key to march down the grid, staying in the same column. When user is finished, they hit the 'Save' button which closes Form 2 and returns to Form one for the next batch.

Here's the problem:

First time through, Form 1 works fine, Form 2 works fine, returns to Form 1, Form 1 works fine, goes to Form 2 and now the Keypress event is being completely ignored - like it doesn't exist


Here's the plea:

Does this sound familiar to anyone? Does anyone have any ideas of how to fix this?

Help me, please?
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform