>Hi All,
>
> I am using M$ Web Browser (Shell Explorer 2) to show my reports in html format to users. But if the focus is on web browser, i cannot able to use Escape to exit. How i can do that.
>
Unfortunately, that'd involve reprogramming the browser if you're actually using the browser to view HTML; you'd probably have to rewrite the HTML to script the browser to take an action on the escape key, since it's the browser and not VFP in control...
If it's the Browser ActiveX control, you'll need to put code into the control's equivalent of the keyPress event to intercept and act on the Escape key.
> I tried on key label escape. form's key press event etc. but not working. please help
>
>TIA
>
>Regards,
>Amit