On Apr 12, 6:16 pm, iwdu15 <jmmgoalsteratyahoodotcomwrote:
hi, im trying to get my form (that has a tabcontrol and 4 tabs on it) to be a
solid color, aka you cant see the color Control that the TabControl has. The
issue im having is, that the control color is bleeding through. I have set
the forms backcolor to another color. all tabs are a different color, and i
have OwnerDrawn set to true....yet i cant get the form to be a solid, smooth
color. any help would be appreciated
--
-iwdu15
Have you tried invalidating the forms detail area during the
TabControl.TabIndexChanged event?
Private Sub TabControl1_TabIndexChanged(ByVal sender As Object, ByVal
e As System.EventArgs) Handles TabControl1.TabIndexChanged
Me.Invalidate() 'Forces repaint
End Sub
That may not be the best way, especially if you have a lot of controls
on the form (it may look like a flicker between TabPages). The
TabControl has got to be the most bug ridden control in the set.