Hi,
I have been looking for a way to do the following: say I have x ammount of fields/elements on a form and all need to do the same thing on a LostFocus event. I could do:
But I would assume there is a easier way to do all this, can someone tell me what it is?
Thanks alot in advance.
I have been looking for a way to do the following: say I have x ammount of fields/elements on a form and all need to do the same thing on a LostFocus event. I could do:
Code:
Private Sub element1_LostFocus()
do this
End Sub
Private Sub element2_LostFocus()
do this
End Sub
Private Sub element3_LostFocus()
do this
End Sub
But I would assume there is a easier way to do all this, can someone tell me what it is?
Thanks alot in advance.