General information
Title:
Report preview displays behind form
I have upgraded a fox windows 2.6 project to vfp 9 sp2.
there is a .prg file that generates a report on the screen.
This preview is displaying behind the main screen of the app.
The main screen is frsmain. How do I reference frsmain from a .prg file so that I can make it invisible?
Or, is there another way to get the preview on top of the form?
I'd appreciate your help.
Deb
*******************************************************************************************************
The code that generates the preview is as follows:
sele prsys
set printer to (fisl)
set printer on
define window ww at 2,2 size srow()-2,scols()-2 close
acti wind ww
do liser
set printer off
set printer to
modi file (fisl) in wind ww
l=quest('Print')
if l
set printer on
set console off
do liser
set console on
set printer off
* wait wind 'print'
else
* wait wind 'no print'
ENDIF
deac wind ww
rele wind ww
*******************************************************************************************************
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