Get_Application_Property(DISPLAY_HEIGHT) and DISPLAY_WIDTH will tell you the current screen resolution, returned in the same co-ordinate units you have defined for your form. Use this to change the size and/or position of your forms.
Forms cannot directly change the users screen resolution. You would have to use a third party dll to do that. Would you want to force a larger resolution than the user has set anyway? Maybe they only use 640x480 because 800x600 is not available on their PCs. On our project we stipulate that the application must run in a mimimum of 800x600 and it is up to the user to change resolution or upgrade their graphics cards!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.