Private Sub Label1_Click()
Label1.Caption = ActiveControl.Caption
End SubPrivate Sub Timer1_Timer()
Label1_Click
End Sub
Label1.Caption = ActiveControl.Caption
End SubPrivate Sub Timer1_Timer()
Label1_Click
End Sub
Label1.Caption = ActiveControl.Name
End SubPrivate Sub Timer1_Timer()
Label1_Click
End Sub
Label1.Caption = Screen.ActiveControl.Text
Else
Label1.Caption = "Button: " + Screen.ActiveControl.Caption
End If