Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XFRX Preview with high resolution screen
Message
De
22/05/2015 11:20:27
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
 
 
À
22/05/2015 00:24:37
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01619596
Message ID:
01620099
Vues:
104
>>>This affects preview or printed pages too? (I have this issue with a portable but this is not in reach for the moment.)
>>>If it is preview only one should be able to get the full picture out of GDI+ somehow.
>>
>>The first issue affects preview and printed pages. The second issue affects the preview only. IIRC, VFP tells the report to render inside an image control. When that control is scaled up by Windows (along with the rest of the app), the report is no longer displayed properly. As far as I can tell, the VFP built-in previewer, XFRX, and FoxyPreviewer all use this same method of rendering in an image control. There are other methods of rendering for preview, such as exporting to image files. I think you can also render to a window (Win32 hWnd), but you might run into the same scaling problem with it. Either way, you'd have to rewrite the previewer, which is no easy task.
>
>Do you think this is the app part only or would it require to hack the VFP exe?

The problem is internal to VFP and can't be fixed directly without hacking the VFP exe/runtime. If Microsoft offered true support after VFP9 SP2, this would have been fixed a long time ago. You have to take another route to workaround it. Another option I forgot to mention... you could run the report/preview in a separate EXE. You could leave DPI scaling on for the main app, and turn it off for the report EXE.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform