Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress and Keypreview problem
Message
From
05/12/2008 10:29:08
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Keypress and Keypreview problem
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01365671
Message ID:
01365671
Views:
145
I've got a web browser control on a VFP form whose keypreview is set to .T. I've put code in the form's keypress and I've discovered that the code does not execute because of the web browser control. I've tested this scenario with another activeX control and the same thing happens. If I remove the activeX control, the form's keypress code fires.

Has anyone encountered this and know of a workaround?

What I'm trying to do is implement some keyboard shortcuts like F5 to refresh the content displayed in the web browser.

TIA,
Mike
Next
Reply
Map
View

Click here to load this message in the networking platform