VB Code:
Private Sub Form1_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.LostFocus 'Enable/Disable the timer End Sub Private Sub Form1_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.GotFocus 'Enable/Disable the timer End Sub





Reply With Quote