Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add scrollbar to groupbox? C# 4.0

Tags:

So... did someone know how to make it?...

In a panel is easy, because we can set the "AutoScroll" property, to true... but groupbox doesn't have it.

Anyways... exists some way for it?, thanks in advance ;-).

like image 823
Daas Cook Avatar asked Apr 18 '11 19:04

Daas Cook


People also ask

How to add scrollbar to GroupBox in c#?

To do this you would have to add 1 panel to the groupbox and set the autoscroll property to true. Then you would add a second panel which would be large then the first panel. On this second panel (StringPanel in the beleow code) you would add controls. Show activity on this post.

What is C# GroupBox?

In Windows form, GroupBox is a container which contains multiple controls on it and the controls are related to each other. Or in other words, GroupBox is a frame display around a group of controls with a suitable optional title. Or a GroupBox is used to categorize the related controls in a group.


1 Answers

Quite simple... Add a panel inside a group box.

like image 149
Paulo Santos Avatar answered Oct 12 '22 02:10

Paulo Santos