Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enter key not advancing to next object?
Message
From
18/02/2003 10:41:23
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00753927
Message ID:
00754474
Views:
12
John & Doug,

By default, code like this is not necessary to make the 'enter' key function. I think you should really make sure you know *why* the enter key is not doing what it should before you put this band-aid on it.

Some places to look:

Is keyPreview property of form set to true? Is there code in keypress method of form? Are you using a framework that is affecting this?

>Wow
>Sometimes the obvious escapes us. It worked !
>I guess I had forgotten that Vfp often needs workarounds
>BTW I used this which worked (28 didn't)
>IF nKeycode = 13
>KEYBOARD CHR(9)
>ENDIF
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform