PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD22] Resize windows for high res monitors
[WD22] Resize windows for high res monitors
Iniciado por guest, 30,dic. 2017 09:58 - 2 respuestas
Publicado el 30,diciembre 2017 - 09:58
Hello All

All of my developments in Windev are quite old and the screen sizes are based around 1024 x 768.
When they display on monitors up to 1920 x 1080 they are ok but look very tiny on the high res monitors 2560 x 1440 and 3840 x 2160.

Is there a way in Windev to auto grow the window and font size when the windows are displayed on high res monitors ? My clients typically don't use the large font options in Windows so the Windev "Display in Large Font" options are no help.

Regards
Al
Publicado el 30,diciembre 2017 - 12:27
Hello Al,

at least in 22, there is an extra option at the project level to use sizes (windows, controls, etc) either in pixels (old way) or in a dpi adjusted way (new way)...

I think that this is the answer to your question... However, as I do not own any HIGH resolution monitor myself, I did not test it.

There are even new functions used to convert pixel coordinates into dpi based coordinates and back, so that when you do some code based on position, you can adapt it to the new way of working.

I do not know if all this is also available in 21.

Best regards
Publicado el 31,diciembre 2017 - 00:55
Hello Fabrice

Thanks for the suggestion, Like you, I also don't have any high res screens in my office, but after the break I will borrow one from my client and make a few tests.
I can't find anything in the help re the DPI setting and I hadn't realised that is was also a project option.
Interestingly the DPI option in the project mentions that it applies "for new windows" rather than "all windows" so who knows what the setting will achieve

Regards
Al