Pssible Bug: GroupBox back color

M

Mike G.

I'm new to VB.NET...

I created a GroupBox on my form. I then changed the BackColor of the
GroupBox. But the back color seems stray outside of the line on the top
side of the box.

For the bottom and sides the color stays inside the lines, but not for the
top.

Could this be a bug?

Thanks in advance.

-Mike
 
J

Jacob Grass [MVP]

Mike said:
I'm new to VB.NET...

I created a GroupBox on my form. I then changed the BackColor of the
GroupBox. But the back color seems stray outside of the line on the top
side of the box.

For the bottom and sides the color stays inside the lines, but not for the
top.

Could this be a bug?

Nope, the painting region of the group box extends up to the top of where
text could be. You should notice that the region outside the lines at the
top and just below that top line changes as you change the font on the
GroupBox.

Make sense?
 
M

Mike G.

Ok, I got it now.

Thanks.


Jacob Grass said:
Nope, the painting region of the group box extends up to the top of where
text could be. You should notice that the region outside the lines at the
top and just below that top line changes as you change the font on the
GroupBox.

Make sense?
 

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