Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview if SCREEN OFF
Message
From
14/04/2014 02:02:04
 
 
To
14/04/2014 01:09:57
Mk Sharma
Shrishti Solutions
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01598514
Message ID:
01598562
Views:
46
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform