Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dock report preview when reporting to a form
Message
From
18/03/2011 02:10:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Dock report preview when reporting to a form
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01504058
Message ID:
01504058
Views:
167
I want the report display to be bigger than the application.

I made a form RepForm with only one property changed:
ShowWindow = 2 && 2 - As Top-Level Form
So now I can send the report to this form:
Do Form RepForm Name MyPreview Noshow
MyPreview.WindowState = 2   && maximize the form
MyPreview.Show()

Report Form (whatrep) Preview Window (MyPreview.Name) Noconsole To Printer Prompt

MyPreview.Release()
The problem is that I cannot find a way to dock the preview toolbar. I tried using a resource file, but it does not use it when ShowWindow = 2. Is there a way to dock it by perhaps entering some code into the form?

Cyril
Reply
Map
View

Click here to load this message in the networking platform