Auto-Detect Resolution
-
- Posts: 37
- Joined: Jan 26, 2017 7:54
Auto-Detect Resolution
Is there a way to Auto-Detect Screen Resolution?
Re: Auto-Detect Resolution
Look at the screeninfo command.
https://www.freebasic.net/wiki/wikka.ph ... Screeninfo
https://www.freebasic.net/wiki/wikka.ph ... Screeninfo
Re: Auto-Detect Resolution
TurtleProgrammer wrote:Is there a way to Auto-Detect Screen Resolution?
Code: Select all
dim as integer w,h,depth
Screeninfo w,h,depth
screenres w,h,depth
print "Your screen resolution is "+str(w)+" x "+str(h)
print "Your color depth is "+str(depth)
sleep