Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dimensions of preview object
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:
01121299
Message ID:
01121361
Vues:
10
Mark,

The preview is displayed in the report designer window. Its dimensions are stored in the resource file and based on the last changes made by user when she/he resized it.

When user or application calls the report ... preview, the window size is defined from the resource file.

If you wish to control the report designer from within application, then you may use the old trick:
oForm=Create('form')
oForm.WindowState = as needed
oForm.Hight = as needed
oForm.Width =as needed
oForm.Show
Report form .... Preview Window (oForm.Name)
oForm.Release
Good Luck

P.S. Sorry did not realize you work with VFP9. Still you can use the above.

>How to properly calculate dimensions of a preview shape? can they be equal to the actual report size?
>
>Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform