Need quick resolution solution - going from 1280x768 to 800x600
-
Hi all, The clients didn't mention it and I forgot to ask. So everyone get out the wet noodles and beat me with them. Okay, now that we've properly assigned blame I'm hoping someone can help me. All the forms in my app have been designed at 1280x768. I need the application to also look right and fit on the screen at 800x600. Please tell me there's some quick solution? I tried using the me.scale property on the form and all its objects but that requires that I do something either with docking or anchoring. Is there a quick something out there that will check the resolution of the computer and resize the stuff on my forms and the forms themselves. And yes, I know all about people using a lower resolution because they want things bigger and all. But that's just not an option here. And the real reason we need it is because our program will be used in 3d world countries where my client's convinced they may only have the smaller resolution available to them. Help? Thanks in advance for any help you can give.
Denise "Hypermommy" Duggan
-
Hi all, The clients didn't mention it and I forgot to ask. So everyone get out the wet noodles and beat me with them. Okay, now that we've properly assigned blame I'm hoping someone can help me. All the forms in my app have been designed at 1280x768. I need the application to also look right and fit on the screen at 800x600. Please tell me there's some quick solution? I tried using the me.scale property on the form and all its objects but that requires that I do something either with docking or anchoring. Is there a quick something out there that will check the resolution of the computer and resize the stuff on my forms and the forms themselves. And yes, I know all about people using a lower resolution because they want things bigger and all. But that's just not an option here. And the real reason we need it is because our program will be used in 3d world countries where my client's convinced they may only have the smaller resolution available to them. Help? Thanks in advance for any help you can give.
Denise "Hypermommy" Duggan
If the app wasn't designed for runtime scaling from the beginning, I doubt there is any fast & easy way to change it: it should be re-designed. If that's not an option, then... One solution is to implement a loop on all the controls upon form loading and resize and reposition them. Drawback: the resized/repositioned layout will not be as neat as the original. Another solution, if your requirements are for two fixed resolutions, would be to manually design the form for both (in order to have a neat and good looking interface in both cases), leave it in one of the two layouts, and then switch to the second layout at runtime depending on the screen's resolution. Drawback: this would be a mess to manage for modifications. I like the 1st solution best. Hope this gives you some ideas. :)
2+2=5 for very large amounts of 2 (always loved that one hehe!)
-
Hi all, The clients didn't mention it and I forgot to ask. So everyone get out the wet noodles and beat me with them. Okay, now that we've properly assigned blame I'm hoping someone can help me. All the forms in my app have been designed at 1280x768. I need the application to also look right and fit on the screen at 800x600. Please tell me there's some quick solution? I tried using the me.scale property on the form and all its objects but that requires that I do something either with docking or anchoring. Is there a quick something out there that will check the resolution of the computer and resize the stuff on my forms and the forms themselves. And yes, I know all about people using a lower resolution because they want things bigger and all. But that's just not an option here. And the real reason we need it is because our program will be used in 3d world countries where my client's convinced they may only have the smaller resolution available to them. Help? Thanks in advance for any help you can give.
Denise "Hypermommy" Duggan
I doubt there is anything readily available that combines those two.
My.Computer.Screen.WorkingArea
will give you the available desktop space. Next you'll probably have to loop through all controls, and scale them. It might be quicker to just anchor all your controls, and use me.scaleMy advice is free, and you may get what you paid for.
-
Hi all, The clients didn't mention it and I forgot to ask. So everyone get out the wet noodles and beat me with them. Okay, now that we've properly assigned blame I'm hoping someone can help me. All the forms in my app have been designed at 1280x768. I need the application to also look right and fit on the screen at 800x600. Please tell me there's some quick solution? I tried using the me.scale property on the form and all its objects but that requires that I do something either with docking or anchoring. Is there a quick something out there that will check the resolution of the computer and resize the stuff on my forms and the forms themselves. And yes, I know all about people using a lower resolution because they want things bigger and all. But that's just not an option here. And the real reason we need it is because our program will be used in 3d world countries where my client's convinced they may only have the smaller resolution available to them. Help? Thanks in advance for any help you can give.
Denise "Hypermommy" Duggan
There is no easy quick fix for this. You application should have been designed with layout containers, docking, and anchoring from the start, even if the form isn't resizable. If it was, your solution wuold have been easy and quick. You have no choice but to re-engineer the layout of your forms, by hand.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
There is no easy quick fix for this. You application should have been designed with layout containers, docking, and anchoring from the start, even if the form isn't resizable. If it was, your solution wuold have been easy and quick. You have no choice but to re-engineer the layout of your forms, by hand.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...Where can I find out more about layout containers... starting with what they are, please? Thanks.
Denise "Hypermommy" Duggan
-
Where can I find out more about layout containers... starting with what they are, please? Thanks.
Denise "Hypermommy" Duggan
They're all in the ToolBox, under the Containers tab. FlowLayoutPanel, Panel, TableLayoutPanel, GroupBox, SplitContainer, ... All you have to do is look up each control at MSDN[^].
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...