But pannel also does the same thing. Why not using pannel?
OK, yeah, you can have a visible border with a Panel, so in that respect you
have a visual cue for the user that you are grouping stuff together. However,
there is no caption, so there's no way to label that Panel without dropping a
Label control there somewhere too. I still prefer the GroupBox for this sort
of visual cue.
In my opinion, the purpose of Panels is to divide up a form when needed for
scrollbars and such. For example, you have a ListView on your form that takes
up the whole width of the form, but you also have a spot where you need to
put TextBoxes to be databound to whatever's being selected in that ListView.
You need to have the TextBox area on a Panel that is docked to the bottom of
the form and the ListView is docked to Fill with a splitter in between them.
~~Bonnie
> But pannel also does the same thing. Why not using pannel?
>
[quoted text clipped - 16 lines]
> >> >
> >> > Groupbox is not scrollable.
A.M-SG - 16 Jan 2006 17:59 GMT
Thank you Bonnie.
> OK, yeah, you can have a visible border with a Panel, so in that respect
> you
[quoted text clipped - 42 lines]
>> >> >
>> >> > Groupbox is not scrollable.
Bonnie Berent [C# MVP] - 16 Jan 2006 20:46 GMT
You're welcome! =)
~~Bonnie
> Thank you Bonnie.
>
[quoted text clipped - 44 lines]
> >> >> >
> >> >> > Groupbox is not scrollable.