Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Preview with listener force to close
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Report Preview with listener force to close
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01079963
Message ID:
01079963
Views:
52
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
Next
Reply
Map
View

Click here to load this message in the networking platform