Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
4
Erster Beitrag:
vor 5 Monaten, 3 Wochen
Letzter Beitrag:
vor 1 Woche, 6 Tagen
Beteiligte Autoren:
Al, steve erts, Fabrice Harari

[WD22] Resize windows for high res monitors

Startbeitrag von Al am 30.12.2017 08: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

Antworten:

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

von Fabrice Harari - am 30.12.2017 11:27
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

von Al - am 30.12.2017 23:55
Al,

Did you ever have any luck solving this?

Thanks

Steve

von steve erts - am 11.06.2018 16:54
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.