B
Bish
In the control where the user enters a, c, p, or s use the
following case statement. In my example I used a text box
called txt_Source and each time the user enters one of the
valid values the tab control (tab_test) changes the tab
page that has focus.
Private Sub txt_Source_Change()
Select Case txt_Source.Text
Case "a"
tab_test = 0
Case "c"
tab_test = 1
Case "p"
tab_test = 2
Case "s"
tab_test = 3
End Select
End Sub
Hope it helps... Bish
following case statement. In my example I used a text box
called txt_Source and each time the user enters one of the
valid values the tab control (tab_test) changes the tab
page that has focus.
Private Sub txt_Source_Change()
Select Case txt_Source.Text
Case "a"
tab_test = 0
Case "c"
tab_test = 1
Case "p"
tab_test = 2
Case "s"
tab_test = 3
End Select
End Sub
Hope it helps... Bish