I think this is the wrong event
I want cmdAction enabled to toggle as text is added or removed from txtArtist.
But the above only works after the second letter is entered, and/or a second delete in empty text box.
Code:
Private Sub txtArtist_KeyDown(KeyCode As Integer, Shift As Integer)
With Me
If .txtParent > "" And .txtYears > "" And .txtArtist.Text > "" Then
.cmdAction.Enabled = True
Else
.cmdAction.Enabled = False
End If
End With
End Sub
I want cmdAction enabled to toggle as text is added or removed from txtArtist.
But the above only works after the second letter is entered, and/or a second delete in empty text box.