Hi perignon,
when u use the TabStrip, did u use a container control, e.g PictureBox to contain the other controls like textbox and labels? let say u have 2 tabs, tab1 and tab2. Use picbox1 to contain the controls for tab1 and picbox2 to contain the controls for tab2. Then later at the tabstrip code:
Private Sub TabStrip1_Click()
Dim mintCount As Integer
For mintCount = 0 To TabStrip1.Tabs.Count - 1
If mintCount = TabStrip1.SelectedItem.Index - 1 Then
picBox(mintCount).Visible = True
Else
picBox(mintCount).Visible = False
End If
Next
End Sub
this should work for TabStrip~
hope i helped u on tis! =)
|