Normally, if I want to make my textbox or combobox change the backcolor when the user gotfocus on the controls i will using the code like this.
VB Code:
Private Sub Text1_GotFocus() Text1.BackColor = vbYellow End Sub Private Sub Text1_LostFocus() Text1.BackColor = vbWhite End Sub
But I need to create the code for every control
Got any method allowed me to do only one time for every control ?
Thanks![]()




Reply With Quote