Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress Issue
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
01361725
Message ID:
01361741
Vues:
15
Do you see wait window in ActiveX KeyCode method ?

If yes, then ActiveX intercepts keystrokes regardless on KeyPreview property value.

>This was just some code for testing, never reaches the KeyPress event at all?
>
>>Should be
>>
>>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>>WAIT WINDOW nKeyCode TIMEOUT 1
>>>IF nKeyCode=61
>>  NODEFAULT
>>>  thisform.pageframe1.page1.gridsearch.clearsearch()
>>ELSE
>>   DODEFAULT(nKeyCode, nShiftAltCtrl)  
>>>ENDIF
>>
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform