Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Control Report Preview Screen
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01422501
Message ID:
01422761
Vues:
137
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform