kjak

Hello,

Fairly new at Windows Forms...

I can make forms that contain controls that will fill the form no matter what size it is.

Now I need to know how I can create a form that has a predefined window size, but allows the user to scroll down to enter values in the underlying controls.

Can anyone guide me through this


Re: Windows Forms General Creating a form with Scroll Bars??

AustinW04

Form and UserControls both have a property called AutoScroll. set it to True and scrollbars will appear whenever controls go out of the bounds of the form or usercontrol. I believe panels and multiple other controls inherit autoscroll as well





Re: Windows Forms General Creating a form with Scroll Bars??

Gavin Jin - MSFT

H,as Ausinw said ,you can lay a panel in the form,set AutoScroll property =true,then add other controls in the panel.

If you have any further questions,feel free to let me know.

Best Regards

Gavin