Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird Ctrl-J behavior
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00729486
Message ID:
00729735
Vues:
28
Thanks for the clarification. Oddly, I still see it either way. Other forces seem to be at work here :-) Glad you have the fix.

>Sorry, I guess that term is ambiguous. I meant that I don't see the behavior when I run using DO FORM xxxxx, but I do see it when I call my main module and then select form xxxxx from the menu.
>
>Anyway, I found that I can suppress this behavior by turning on KeyPreview in my base form class and putting this code in KeyPress() of that same class:
LPARAMETERS nKeyCode, nShiftAltCtrl
>IF nKeyCode = 10 AND nShiftAltCtrl = 2
>    NODEFAULT
>ENDIF
This means that users won't be able to use Ctrl-Enter to fire a default button either. In my app, that's an okay tradeoff because I really didn't want the Ctrl-J behavior.
>
>So you led me to a decent resolution here. Thanks!
>zahid
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform