General information
Category:
Coding, syntax & commands
>>My application utilizes forms designed for a resolution of 800x600 pixels and min 256 colors. Is there a possibility to check the screen resolution and color depth prior to launch the form , within my VFP5.0 app. ?
> If you maximize _screen, i.e. _SCREEN.WindowState=2 then after this you can check _SCREEN.Width and make a conclusion.
Check out the function SYSMETRIC(), in your startup you can check with something like
lcScreenRes = ALLTRIM(STR(SYSMETRIC(1))) + ' x ' + ALLTRIM(STR(SYSMETRIC(2)))
Should return something like "600 x 800" etc...
HTH
Robert Horkay
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only