Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
>>When on Windows is set a text scaling to 125% or greater,
>>reports are drawn with that scaling factor and are therefore much larger than the page and are cut to the right and bottom.
>>
>>Exists a VFP solution ?
>>
>>Thanks
>
>1) Don't use VFP
:)
>2) Set text scaling to 100%
:)
>3) Check "Disable display scaling on high DPI settings" in exe shortcut properties on Compatibility page
This works, in the sense that VFP works with scaling 100%.
>4) Call at start application API function SetProcessDPIAware()1
>DECLARE INTEGER SetProcessDPIAware in WIN32API
>=SetProcessDPIAware()
This does not work because it is called too late VFP in the process.
When the Windows DPI context of the process / thread is created you can not change anymore.
The system APIs to manage all this there are, but not having the VFP's thread control, I doubt you can handle.
The real solution is to correct the error in the print engine VFP.
I can live with the solution 3)
Thanks
>
>MartinaJ
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement