Page 1 of 1

How program to find the screen resolution?

Posted: Mon Oct 17, 2016 10:17 am
by Eugene Lutsenko
How program to find the screen resolution?

Re: How program to find the screen resolution?

Posted: Mon Oct 17, 2016 1:14 pm
by Cliff Wiernik
This is what I use.

nWidth := AppDeskTop():currentSize()[1] // current screen size width in pixels
nHeight := AppDeskTop():currentSize()[2] // current screen size height in pixels

returns 1920 and 1080 for my monitor, which is correct.

Re: How program to find the screen resolution?

Posted: Mon Oct 17, 2016 2:01 pm
by Eugene Lutsenko
Many thanks