>>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
>
>I found this message
Re: Function Key and Calendar Control Thread #
842812 Message #
842914 seems to be related.
Thanks Naomi. Unfortunately the browser control does not have any key events that I can see to trap!