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:
01361746
Vues:
13
I got it working :)

Must of just been a glitch in the VFP development enviroment,
I opened up a fresh IDE, recompiled, and it worked

Wierd

Thanks for the input.

Bob


>Do you say that WAIT WINDOW shows up here, and does not show up e.g. in ClearSearch method?
>
>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>WAIT WINDOW nKeyCode TIMEOUT 1
>>IF nKeyCode=61
>> thisform.pageframe1.page1.gridsearch.clearsearch()
>>ENDIF
>>DODEFAULT()
>>
>>
>>
>>>>Hello All
>>>>
>>>>I am having problems getting a form to intercept keystrokes, which I have done previously without issue.
>>>>
>>>>On the form I am setting the KeyPreview to true, the first line (after the parameters line) in the KeyPress method is
>>>>
>>>>WAIT WINDOW TRANSFORM(nKeyCode) TIMEOUT 1
>>>>
>>>>so I can see the codes being generated, however it never fires, but goes right to the active control.
>>>>
>>>>I must be missing something simple, any ideas?
>>>>
>>>>Thanks
>>>
>>>What Form.KeyPress code actually doing? Could you post this code?
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform