Hi everybody
i have form which contains to many controls to fit in normal 800X600 view.
Is there any way i can put scroll bars to a form depending upon height of form at runtime (like in web pages)
Thanks
Printable View
Hi everybody
i have form which contains to many controls to fit in normal 800X600 view.
Is there any way i can put scroll bars to a form depending upon height of form at runtime (like in web pages)
Thanks
You would have to put the scrollbars on the form manually and then add code in the events of these scrollbars to scroll the form.
I think the easiest way is to put all your controls on a picture box container and the put this picture box in an other, outer, picture box.
The outer picture box should be resized with the form and now it's pretty easy to move the inner picture box when the users click on the scrollbars.
IMHO scrollable forms is bad design, though.
If you can't fit the controls on the form you might want to reconsider your design.
Best regards