Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Control Report Preview Screen
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01422501
Message ID:
01422761
Views:
138
Hi Chaim,

I assume you talk about the older REPORTBEHAVIOR 80 preview.

>How does VFP know where to put the report preview and what size to make it?

That's stored in the FOXUSER file

>Is there any way to control the size and location of the report preview?

You could a FOXUSER with the correct value and switch to this resource file just before previewing the report. This technique is also used to control the position and content of the report control toolbar.

Alternatively, you can use the various WINDOW commands to alter the preview. If there isn't any issue with previewing the report modeless with the NOWAIT option,m, you can simply put these commands after the REPORT FORM line. Otherwise you need to work with the keyboard buffer or a timer to execute the code after the preview has launched:
On Key Label Chr(255) Zoom window "report designer" max 
Keyboard Chr(255)
Report Form d preview
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform