Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Row control in grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Row control in grid
Miscellaneous
Thread ID:
00752701
Message ID:
00752701
Views:
45
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
Next
Reply
Map
View

Click here to load this message in the networking platform