Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement