Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview if SCREEN OFF
Message
De
14/04/2014 02:02:04
 
 
À
14/04/2014 01:09:57
Mk Sharma
Shrishti Solutions
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01598514
Message ID:
01598562
Vues:
45
This message has been marked as a message which has helped to the initial question of the thread.
One trick I've used is to use the current top-level form. The idea is to hide all current controls, make the form full-screen, run the report, put the form back to original size and show its controls.
WITH ThisForm
	.LockScreen = .T.
	.Closable = .F.
	.SetAll( "Visible", .F. )
	.WindowState = 2
	.LockScreen = .F.

ENDWITH

* Experiment with the following KEYBOARD commands to force full-screen report preview (may need 1, 2, or ?)
KEYBOARD "{CTRL+F10}"
KEYBOARD "{CTRL+F10}"
REPORT FORM ( tcReport ) TO PRINTER PROMPT PREVIEW

WITH ThisForm
	.LockScreen = .T.
	.Closable = .T.
	.SetAll( "Visible", .T. )
	.WindowState = 0
	.LockScreen = .F.

ENDWITH
I don't know if this gives you the toolbar you want. It's tricky to get it to work just the way you want, I won't be providing any further support for this code.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform