Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I developed a VB.Net project in my worksytem and the resolution is 1920x1080, and when i tried to use it on my laptop the resolution of the laptop is 1366x768, and in my laptop it was unable to see my whole project.

I can see only 70% of my project on my laptop screen the rest i can't.

I dont know how to solve this
Posted
Updated 12-Jul-15 23:52pm
v2

Automatic "scaling" ort a form (either up or down resolution) is never very successful, unless the whole app has been designed with that flexibility designed in from scratch - and then you end up with something like a Visual Studio design, where the working area is flexibly sized, and the tools are "fixed size" but move around to fit.

Just taking a form designed for X by Y resolution and resizing all the form controls to X2 by Y2 won't work, as the font size used inside the controls doesn't rescale with the control - so you end up with a tiny textbox with big characters in it, or a huge button with tiny writing in the middle.
You may be able to do it by having two separate form designs for different resolution ranges, but that would be a PITA to maintain.

And seriously? How many controls have you shoved into a form that size? How do you expect the user to find anything, even on your "desktop" setting?
Consider redesigning so that your form presents a manageable amount of data at a time, and uses either groups, tabs, or secondary forms to sort out the number of controls.
 
Share this answer
 
Creating a form that requires 1920x1080 is crazy. You need to make your forms "responsive"


Take a look at this article for for information:
WinForms and TPL - Achieving quick Multitasking and Responsive User Interface[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900