Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with lost focus of textbox in grid column
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00949487
Message ID:
00949520
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform