I have the following code:
REPORT FORM REPORT rpReport OBJECT lolistener PREVIEW
Also I have a timer in the form that check if the preview windows was more than 5 minutes in the screen, it will close the report preview.
The problem is that I'm executing lolistener.onpreviewclose in the timer event forcing to close the print preview form. The problem is that the actual form created automatically by PRINTPREVIEW.APP is still active and is not closing automatically.
Is this the right method to use? I'm duing the right thing if I want to close a preview screen after x amount of minutes automatically.
thanks