MouseClick on Tab controls

  • Thread starter Thread starter Shooter
  • Start date Start date
S

Shooter

Is there a way to know which tab has been clicked on? I
want to be able to hide/show different controls a top of
form depending on which tab the user has selected.
 
Check the Value of the tab control, in its Change event.

This example shows SomeBox only if MyPage was the page selected:
Me.SomeBox.Visible = (Me.MyTabControl = Me.MyPage.PageIndex)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top