G
Guest
I want my user to stay on the tab they are on if conditions are met. When
they click off to another tab, I want a message and return to the tab they
were/are on. I get everything working but the return. If I remove my
conditions test and set focus to another tab other than the resident one, the
focus changes. I need to stay on that original tab until conditions are met.
I have this code in the tabControl change event.
Select Case Me.tabControlMain
Case 0
If something Then
response something
Me.tab0.SetFocus
End If
Case 1 ...etc.
End Select
Can someone help me understand?
they click off to another tab, I want a message and return to the tab they
were/are on. I get everything working but the return. If I remove my
conditions test and set focus to another tab other than the resident one, the
focus changes. I need to stay on that original tab until conditions are met.
I have this code in the tabControl change event.
Select Case Me.tabControlMain
Case 0
If something Then
response something
Me.tab0.SetFocus
End If
Case 1 ...etc.
End Select
Can someone help me understand?