Resize Form controls to Fit different Screen Resolutions Automatically
Guys, I have designed my application on a machine with a 800 x 600 resolution. However, when I try running it on a machine with a 1024 x 768 specifications, I end up with a lot of empty space and doe not look appealing. How can I ensure that when I move to a machine with a higher resolution, my controls get resized automatically? I will really appreciate getting a code that can help me out.
Re: Resize Form controls to Fit different Screen Resolutions Automatically
Originally Posted by osemollie
Guys, I have designed my application on a machine with a 800 x 600 resolution. However, when I try running it on a machine with a 1024 x 768 specifications, I end up with a lot of empty space and doe not look appealing. How can I ensure that when I move to a machine with a higher resolution, my controls get resized automatically? I will really appreciate getting a code that can help me out.
Re: Resize Form controls to Fit different Screen Resolutions Automatically
There are resize ocx's you can buy. But here is just a simple example of resizing.
Keith
I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
I have checked out the above code as suggested, but when I try running the application, I get an error telling me "Object required" I honestly have no idea what is required.
Re: Resize Form controls to Fit different Screen Resolutions Automatically
Originally Posted by osemollie
[Highlight=VB]
I have checked out the above code as suggested, but when I try running the application, I get an error telling me "Object required" I honestly have no idea what is required.
Well it works perfectly on my machine with no errors. If it did have errors I wouldn't have posted it.
Which line does it say Object Required?
Keith
I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.