General information
Category:
Reports & Report designer
Randy, PMFJI BUT.
SET ESCAPE is not the same thing as
ON ESCAPE which is not the same thing as
ON KEY LABEL ESC.
They all have to be managed (pushed and popped) separately if you want to re-map the escape key successfully, as a general comment.
But I'm not sure if any of this is relevant to your current problem (except that you asked what you might want to look at in the debugger <s>).
You started out by saying that your app is terminating when the preview closes. This is certainly disturbing <s>, but sounds like something that has little to do with the escape key in particular (IOW sounds symptomatic of something different).
So let me ask (these are all independent lines of inquiry):
* -- is this a PREVIEW NOWAIT?
* -- what calls the REPORT FORM PREVIEW -- is it a modal window, a modeless window, a menu option?
* -- beyond NOWAIT what clauses do you have on the REPORT FORM PREVIEW command (specifically I'd be interested if this is a top form, in a top form, or in screen -- so the WINDOW and IN WINDOW clauses are relevant)?
* -- could the calling window possibly have any Activate/Deactivate/Refresh methods? (or, in old-style windows, ACTI/DEAC code can be attached and triggered)?
* -- could the report possibly have any UDF (these can re-run when the user pages through output in preview, something could be putting your app in a "funny" state)?
* -- are you using any report-handling code that you've plugged into your app, and might be somewhat "foreign" to the rest of the app in style (such as framework code you have from a different source)?
>L<
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only