I created an inherited textbox control that overrides the OnPaint event so that the textbox is not greyed out when disabled. My code is below. When I place this inherited textbox on a tabcontrol, it works well as long as it is on the first tab page. If I place it on any other tab page, the font gets screwed up and it displays in a much larger size font when the control is enabled. Then when I disable the control, everything goes back to normal. It have no idea what's going on......any help would be greatly appreciated!!!!

THIS IS IS MY CUSTOM INHERITED CONTROL CODE:
ProtectedOverridesSub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs)
Dim TextBrush As SolidBrush = New SolidBrush(Color.FromArgb(CType(64, Byte), CType(64, Byte), CType(64, Byte)))
Dim pen AsNew Pen(Color.Black, 2.0)
'Set user selected backcolor when disabled
IfNotMe.Enabled Then
Dim BackBrush AsNew SolidBrush(Color.White)
e.Graphics.FillRectangle(BackBrush, 0.0F, 0.0F,
Me.Width, Me.Height)
e.Graphics.DrawRectangle(pen, 0.0F, 0.0F,
Me.Width, Me.Height)
EndIf
'Paint text
e.Graphics.DrawString(Me.Text, Me.Font, TextBrush, 0.0F, 2)
EndSub

ProtectedOverridesSub OnEnabledChanged(ByVal e As System.EventArgs)
MyBase.OnEnabledChanged(e)
IfNotMe.Enabled Then
Me.BackColor = Color.White
Me.ForeColor = Color.FromArgb(CType(64, Byte), CType(64, Byte), CType(64, Byte))
Me.SetStyle(ControlStyles.UserPaint, True)
Else
Me.BackColor = Color.White
Me.ForeColor = Color.Black
Me.SetStyle(ControlStyles.UserPaint, False)
EndIf


EndSub