Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing ..... PopUp 1

Status
Not open for further replies.

iamdon

Programmer
Dec 19, 2001
28
US
Does anyone know how to prevent the "Printing ....." popup window that arrives in the center of your screen when you execute a 'REPORT FORM myReportForm TO PRINTER" statement?
I have hunted thru all the VCX's but I have not been able to find where this pesky little thing is comming from.
 
You can't stop it, but you can "hide" it. Create a UDF() that contains:
Code:
IF WEXIST("Printing...")
   MOVE WINDOW "Printing..." TO -1000, -1000
ENDIF

Then put a call to this function as your On Entry expression for your Report Title Band.

Rick
 
Rick,
Thanks a lot.
created the little .prg as you suggested --- called it killpopup.prg
I assume ( and you know what that means ) that you put in the On Entry box just the word 'killpopup'
Got a syntax error with DO Killpopup , =killpopup() and just killpopup()

Is this the correct way to call the .prg?????

Don
 
Try putting in a dummy variable:
Code:
llIDidIt=killpopup()
Then make sure your code returns .T. or .F.!

Ian
 
Well that produced an error 'Variablle killpopup not found'

and by the way NOW (for who knows what reason) the KillPopup() is the only one that works without an error, and seems to be doing its job. But so you know, I had to put the command in the Header band as the form doesn't have a title band and the little 'Printing...'Window wasn't visible at that point, evidently.

Thanks again to all
Don
 
Don,
Strange, I just created a KILLPOPUP.PRG with:
wait window "hi there!" nowait
And then in VFP 6.0 (and vFP 7.0), put:
killpopup()
As the expression in my Title On Entry Expression, and this seems to work just fine in both Preview and Print modes.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top