Hi all,
In common with a lot of people out there it seems, I am having problems with sizing forms depending on screen resolution.
I have designed my main form to 800x600 spec and to fill the screen, so when I run it on a machine set to 1024x768 it all bunches up in the top left. I've tried a shrinker stretcher program and don't really like it so I would like to do things a different way:
If the user's resolution is set at 800x600 I want my main form to maximise on load and fill the screen as normal.
If the users's resolution is set at 1024x768 then I want the form to restore on load, so it acts as a floating form if you get my 'drift'.
If the user has their screen res set at 640x480 I would like them slapped with a wet fish
The problem is that I don't know how to get the screen res info.
Can anyone help? Robbo ;-)
In common with a lot of people out there it seems, I am having problems with sizing forms depending on screen resolution.
I have designed my main form to 800x600 spec and to fill the screen, so when I run it on a machine set to 1024x768 it all bunches up in the top left. I've tried a shrinker stretcher program and don't really like it so I would like to do things a different way:
If the user's resolution is set at 800x600 I want my main form to maximise on load and fill the screen as normal.
If the users's resolution is set at 1024x768 then I want the form to restore on load, so it acts as a floating form if you get my 'drift'.
If the user has their screen res set at 640x480 I would like them slapped with a wet fish
The problem is that I don't know how to get the screen res info.
Can anyone help? Robbo ;-)