Click here to Skip to main content
15,076,465 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I got issue in adding vertical and horizontal scroll bars in panel occupying full form size.
My application working good in high resolution say (1366 x 768) but when I want to run this application into lower resolutions like (1024 X 700) when forms controls get cutted and not properly shown in form. So all I have to do is to make form able to running perfectly in any resolution , if resolution is minimum than actual form size it will allow scroll bars to see full controls.

What I have tried:

I have tried it but only vertical panel added and when resolution change it misbehave.
Posted
Updated 19-May-16 19:42pm
v2
Comments
Richard MacCutchan 19-May-16 6:30am
   
it misbehave
We have no idea what that may mean. Please edit your question and explain exactly where your code is going wrong.
Philippe Mori 19-May-16 19:43pm
   
Show us your code... It should be fairly easy to add scrollbars provide that you add them to the appropriate control, set the correct visibility option and the inner content is larger than the available size.

1 solution

Hi,

If I am not wrong, you mean to say that Form should have scroll bars enabled when run under lower resolution. If yes, check out the AutoSize & AutoScroll property of the form.
   

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