Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, Everytime I put Autoscroll on and I debug my application, this happens:

http://gyazo.com/3185bc3c035690ef56c4b2c209c89c2a[^]


There is a big empty space on top, I don't know what is the cause of this. I've even made a new project, and still happens. Please help me, thanks!

(This is a windows form application and i'm using a regular panel)
Posted
Updated 1-Nov-14 19:03pm
v2
Comments
BillWoodruff 2-Nov-14 0:30am    
I can't tell what you are talking about from looking at the picture. Is this Windows Forms ? Is there some Control inside a Form ?
ozthe1337 2-Nov-14 1:03am    
sorry, i should have said it's just a regular panel and that it is a windows form :)
BillWoodruff 2-Nov-14 2:49am    
You need to carefully consider the information that anyone would need to help you: both WinForms 'Form and 'Panel have an 'AutoScroll property; we can't read your mind :)

Both 'Form and 'Panel have a 'Padding property, and 'Panel has a 'Margin property that can affect the location of its internal Controls which, in turn, could be affected by whether or not the Panel's ScrollBar is shown.

We need to know what the 'Dock and 'Anchor properties of the Panel are, and what the white-space is: is the white-space 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