Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running Report from a Top Level Form
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Running Report from a Top Level Form
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01039961
Message ID:
01039961
Vues:
59
Attempting to present reports to full screen preview from a top level form and still have preview toolbar available I have found the following to work the best
lOldVisible = _screen.Visible 

_screen.Caption = 'Full Screen Preview'
_screen.WindowState = 2
_screen.ControlBox = .f.

lcWindowTitle ='Full Screen Preview'

DEFINE WINDOW wPreview ;
	FROM 0,0 TO 10,10 ;
	TITLE lcWindowTitle ;
	SYSTEM nofloat ZOOM CLOSE ;
	IN screen

ACTIVATE WINDOW wPreview	

ZOOM WINDOW wPreview Max

_screen.Visible = .t.

Report Form myreportt.frx  To Printer Prompt Preview Window 'wPreview'


_screen.Visible = lOldVisible
However, i would like to remove the menu from the _screen. How can I do that?

Thanks in advance
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform