Hi, I want to run some code when a user clicks on a particular tab in a tab control.
How do i test which tab has focus and where do I put the code, in the Tab Control, or Page Control properties click event.
If Me.TabControl.Pages(1).SetFocus Then
MsgBox "My Message", vbOKCancel + vbExclamation, "Important Note"
End If <...not working
How do i test which tab has focus and where do I put the code, in the Tab Control, or Page Control properties click event.
If Me.TabControl.Pages(1).SetFocus Then
MsgBox "My Message", vbOKCancel + vbExclamation, "Important Note"
End If <...not working