Number one can be done with the use of DLCall using a couple of Win32 API 
functions: FindWindow and CloseWindow.  Those would be used in conjunction 
with a Timer event from the Form that calls the report.  I may be able to 
work up the details on that over the next couple days, time permitting.

Number two is best accomplished with a button that writes a flag file that 
is checked for existence in each iteration of the loop and upon finding the 
presence of the file, exits the loop.  In order to be able to do a file 
write while a loop is running, you will have to put the ProcessMessage 
command in your loop so the button and file write will get a breath of the 
timeslice to work.





----- Original Message ----- 
From: <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Saturday, September 03, 2011 10:35 AM
Subject: [RBASE-L] - Two questions.



1.  I am looking to display a series of one page summary reports.  Is there 
any way to set a "timer" on the displaying of a report and have the report 
close on its own without intervention?

2.  Any suggestions on inserting an "exit key" which will terminate a "loop" 
of commands being performed.  ex: The stopping of a slide show.

Thanks
Angelo 


Reply via email to