Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Issues with Keypress Event and Grids
Message
From
16/09/2004 13:38:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Issues with Keypress Event and Grids
Miscellaneous
Thread ID:
00943030
Message ID:
00943030
Views:
57
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
Next
Reply
Map
View

Click here to load this message in the networking platform