Zexor
Well-known member
- Joined
- Nov 28, 2008
- Messages
- 520
- Programming Experience
- 3-5
Can you use case statement to find the selected tap name?
that doesnt work cause = was not define for tabpage. I know i can do it in case else but that just become an If statement. I could also do it with selectedIndex but can you do it with SelectedTab with their name?
VB.NET:
Select Case TabControl1.SelectedTab
Case tabpageA
Case tabpageB
End Select
that doesnt work cause = was not define for tabpage. I know i can do it in case else but that just become an If statement. I could also do it with selectedIndex but can you do it with SelectedTab with their name?
Last edited: