PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Window sizing with multiple displays
Window sizing with multiple displays
Iniciado por mark, 19,jul. 2019 16:59 - 3 respuestas
Publicado el 19,julio 2019 - 16:59
I need to size and place my window in the display it is currently on. Programmatically doing so is simple but the problem is knowing the correct screen resolution. The functions like SysScreenResolution will provide the resolution for a specified display or the main display but not the current one the window is on.

Does anyone know how to determine the current display the window is in?

Thanks,
Rick D
Publicado el 24,julio 2019 - 16:42
Hi,

there are "anchors" to solve your problem. Controls will move and resize on different screen sizes. The layout control even shifts controls automatically!
Miembro registrado
8 mensajes
Publicado el 29,noviembre 2019 - 12:36
but the font size remain the same
only fill the full screen

the ideal would be like other language that fit all Object in the screen
Publicado el 29,noviembre 2019 - 16:29
Hi, yes, the font size remains the same. To solve that, WINDEV offers "LAYOUTS" - these are alternative representations of a window. Possibly with different fonts, font sizes, different colors etc. meant for screens with differing resolutions.