I'm hoping someone can help me. I am working in VB.NET and I have three text boxes on a form, txtone, txttwo, and txtthree. While one of the text boxes has the focus, its text is red, when it loses the focus, the text returns to black. I tried an if statement:

Private Sub txtOne_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles txtOne.TextChanged
If txtOne.Focus Then
txtOne.ForeColor = Color.Red
Else
txtOne.ForeColor = Color.Black
End If
End Sub

But it didn't work. Can anyone assist me? Thx!