Page 1 of 1

How to get screen size and resolution

Posted: Thu May 30, 2013 5:23 pm
by daryl
Hi Folks,

I am trying to figure out if there is any way to determine the screen size and resolution. I have been looking through the documentation but have not been able to find any details on this. I have had a look at the platform, environment, processor, machine and systemVersion functions, and am wondering if there might be others I've missed that might be useful for determining the screen size. I want to write an application that will scale from smartphones to the desktop.

Any help would be greatly appreciated.

Thanks,

Daryl

Re: How to get screen size and resolution

Posted: Thu May 30, 2013 5:27 pm
by mwieder
Try the screenrect.

Re: How to get screen size and resolution

Posted: Thu May 30, 2013 5:45 pm
by daryl
Hi MWieder, that is just what I was looking for.

Regards,

Daryl