Re:Change screen resolution
Quote
Alan MacArthur wrote:
> A possible solution to various screen resolutions would be a message box
> that states "This program is best viewed at 800x600. Do you want to
> change your screen resolution to this?" If yes, then set Screen.Width
> and Screen.Height. Unfortunately, those are read-only variables.
This probably works, but I'm not sure if this gives a professional impression
of your app. Users kind of expect that Windows apps always work, and automatically
look out good, no matter what resolution you use. My current solution is just to
stay with 640x480 Form sizes, at least with all the most common screens.
You said that your scaled Form already now looks OK, except just some Grid
columns. How about if you make three pre settings for those grids, one for
640, second for 800 and the last for 1024 resolution. At the program start up
you check what is the user's currently selected resolution, the Screen.Width.
And then set the grid columns and dimensions according to those pre calculated
values.
If you have a lot of controls to set and calculate, this may be tedious to do,
but for a couple of bad behaving controls this could be ok. I have not tested this
myself, because there has not been absolute need for that. But if you will try it,
or someone else has used something like this succesfully, I would be glad to
hear, for my own future needs :-)
Markku Nevalainen