Click here to Skip to main content
15,884,020 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating a windows Master Form Page and also create a child form into the master page. the child page 1/3 part using for tab control. the tab control tab page load one windows forms with maximum controls with its specified size .its working in 15' laptop screen but below 15'inch screen the display view breaks the controls/forms how it resolve.


What I have tried:

I am tried set anchor to the controls dock fill in forms but still problem is there.
Posted
Updated 4-Feb-21 20:53pm

Set the forms AutoScroll property to true.
If you are trying to use a "form in a form" that is not a good idea, try to use another container control like a Panel instead for which you can set scrollbars too.
 
Share this answer
 
v2
The problem is that not all displays are the same: two 15" displays can have different resolutions - which means less pixels per inch on one - and also different "Scaling level" which makes text easier to read by enlarging the number of pixels it takes to display the same font size. Both of these have a "roll-on" effect on all other controls: buttons can be bigger to fit the larger test in, and so forth.

What can you do about it?
Not a lot: it's pretty much fundamental to Windows that the user has control, over his display, and the problem is probably that your whole UI design isn't taking that into account. If you fill a "fixed area" with controls, then a different display will show them differently. We can't say "do this and it'll work" because we have no idea what your system is doing, or how you have designed your UI. But have a look at how Visual Studio handles it: it works well on a tiny display and also on a big one by not fixing the size of anything, and allowing the user to decide what goes where.

Sorry - but we can't fix that for you!
 
Share this answer
 
Comments
RickZeeland 5-Feb-21 4:04am    
"Sorry - but we can't fix that for you!"
You could buy a better monitor for him :)
OriginalGriff 5-Feb-21 4:19am    
Will he pay postage and packing? :D

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