Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress Issue
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01361725
Message ID:
01361741
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform