General information
Category:
Forms & Form designer
Hi Steve,
1. KeyPreview set .f. .
2. The only code I have is the Enter key code (which is working fine).
3. No framework is involved - No parent classes with code.
Regards
Doug Johnston
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only