Backcolor groupbox outside borders

G

Guest

Hey,

I have a groupbox with a backcolor.

this.groupbox1.Location = new System.Drawing.Point(10, 00);
this.groupbox1.Name = "panelHead1";
this.groupbox1.Size = new System.Drawing.Size(800, 30);
this.groupbox1.BackColor = System.Drawing.Color.LightBlue;

At runtime I see a groupbox with borderlines (that is ok), the backcolor is
inside de groupbox left,right and under. But at the top the backcolor is over
(outside, about 2mm) the borderline.
How can I say that the backcolor of the groupbox must be inside the
borderlines.

tkx,
jac
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top