General information
Category:
Reports & Report designer
Title:
Close Preview with a Keystroke
I've got this snippet of code in an application:
PUBLIC loForm
loForm = CREATEOBJECT( 'reportform' )
WITH loForm
.Caption = "Preview"
.WindowState = 2 && Maximized
.Show()
REPORT FORM ( cFrx ) PREVIEW WINDOW (.Name)
.Release()
ENDWITH
RELEASE loForm
This snippet is embedded inside a SCAN loop to display a set of user defined reports. The current version runs all of the selected reports without any way to exit the loop. I can escape from the loop easy enough, but I'd like to be able to close the previewed report with a keyboard command. I haven't found a way to use NOWAIT, nor get the preview to respond to a keyboard.
Next
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