Atozed Forums
DesktopTop parameters - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: DesktopTop parameters (/thread-5330.html)



DesktopTop parameters - hannaconner - 08-01-2025

My site can be opened by a browser from different devices. Computer, tablet or mobile phone. Each of these devices has its own screen size. I would like depending on the size of the screen on which the site is displayed to change its formatting. (apply different arrangement of elements on the screen for smartphones and for computers). To do this, I need to get the parameters of the screen on which the information is displayed by the browser at startup. Primarily interested in the height and width of the screen


RE: DesktopTop parameters - jeroen.rottink - 08-01-2025

For this you can use WebApplication.FormWidth and WebApplication.FormHeight.