Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing report preview in runtime
Message
From
28/08/2016 05:44:59
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
27/08/2016 21:38:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01640087
Message ID:
01640092
Views:
77
>When running from My.APP, I enlarge a report preview and move it to the right. When I leave and return, calling it again, it displays in the enlarged size on the right. When I package my run time My.exe in a different area to test, I can still enlarge and move the report preview, but on retrying after closing, it starts in the original smaller size and left side position.
>
>This problem doesn't happen in moving regular forms around, and having the new position stick ... it's just with the report forms.
>
>What can I do so my users will be able to resize and keep the report preview's position changes in their run time versions as the new starting display?

Provide a foxuser.dbf (probably with a different name for each user) and Set Resource to it. You can have a minimal one inside the exe with just the records related to print preview, and copy from that into each user's one.

Alternately, have a form to preview in. Just instantiate the form invisibly (and have it be of a class where you have your way of saving/restoring position), and then
report form .... preview window (myform.name)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform