Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VB.Net - How to scroll through GroupBox

Tags:

vb.net

Please excuse my lack of familiarity with vb.net. Just got thrown on a project with no vb.net experience.

I have to add some things to an application that was written by somebody who is no longer in the picture. I have to add more textboxes into a groupbox and when I do that it exceeds the size of the form. How can I make it so that I can scroll through the groupbox?

like image 361
Nick L Avatar asked Aug 07 '13 13:08

Nick L


1 Answers

GroupBox, as it doesn't derive from ScrollableControl, so itself can't have scrolling functionality.

So...

Place the GroupBox inside a panel, and set the panel AutoScroll to true.

Guides:

Adding a panel control

Setting properties (of anything)

Moving content is just simply selecting all the elements you want to move, and click and drag them into the new place.

like image 200
Ryan McDonough Avatar answered Nov 15 '22 06:11

Ryan McDonough