Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dimensions of preview object
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01121299
Message ID:
01121361
Views:
9
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
Previous
Reply
Map
View

Click here to load this message in the networking platform