Tab Click...

  • Thread starter wink martindale
  • Start date
W

wink martindale

Hello All,

We are developing a vb.net app that utilizes a tabbed interface. On
one tab page, we have "embedded" a form. Our question is this:

How do we respond to the click event on the TAB as opposed to a click
on the tab page. This has us stumped! For example:
We have 3 tabs: Tab1, Tab2, Tab3.
When Tab1 is active, we have a form that shows on that tabpage.
When Tab2 is clicked, we want the form to close. However, this only
occurs if the user clicks on the actual Tab2 page itself. Can we
somehow capture the click event on the TAB that reads Tab2?

TIA,

Wink
 
W

wink martindale

Ken,

Thanks very much for the response. We solved it (for now!)
At this point, we check the selected index property of the tabcontrol
itself and then close the form based on that. Works well.

Thanks again,

Wink and friends
 

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

Top