Information générale
Titre:
Report preview displays behind form
Versions des environnements
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
*******************************************************************************************************
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement