• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 687
  • Last Modified:

TabControl current tab vb.net 2008

i have a tabcontrol with few Tab.how to check which tab that user are currently use.
0
aarontham
Asked:
aarontham
1 Solution
 
wht1986Commented:
this.tabControl1.SelectedTab is the actual tab and
this.tabControl1.Selectedindex will give you an integer of the index in the this.tabControl1.TabPages[] array the current tab is in
0
 
aaronthamAuthor Commented:
i new in vb.net. can you help to provide some sample code.
0
 
JosephGermanOcenaCommented:
Private Sub GetSelectedTab()

Messagebox.Show (tabControl1.SelectedIndex)

End Sub
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now