Use AddHandler to add the common lostfocus event handler to all of your
textboxes.
Private Sub txtBoxLostFocusHandler(ByVal sender As Object, _
ByVal e As System.EventArgs)
End Sub
AddHandler TextBox1.LostFocus, AddressOf txtBoxLostFocusHandler
AddHandler TextBox2.LostFocus, AddressOf txtBoxLostFocusHandler
....
....
Also, if you are using the same lost focus event handler for all of the
textboxes on your form (or some other container such as a panel, tab page,
etc), you can do this within a loop:
' replace Me with whatever container you have your controls on
For Each txtBox As TextBox In Me.Controls
AddHandler txtBox.LostFocus, AddressOf txtBoxLostFocusHandler
Next txtBox
hope that helps..
Imran.