I created a multipage control (SStab1) with 3 tabs. I just wonder how can I control when user clicked to another tab. Because I will write different scenarios according to selected tab. But first, I need to understand other tab selected.
Printable View
I created a multipage control (SStab1) with 3 tabs. I just wonder how can I control when user clicked to another tab. Because I will write different scenarios according to selected tab. But first, I need to understand other tab selected.
Try using Click event:
Code:Private Sub SSTab1_Click(PreviousTab As Integer)
If SSTab1.Tab = PreviousTab Then Exit Sub 'process each tab selection only once - comment it otherwise
Select Case SSTab1.Tab
Case 0
'...
Case 1
'...
Case 2
'...
End Select
End Sub
dear RhinoBull, it works :) thanks for the help.