Event when a TabControl is about to change pages in VB.NET

  • Thread starter Thread starter Bob Trabucco
  • Start date Start date
B

Bob Trabucco

Hello,

I need to be able to intercept a TabControl BEFORE it switchs pages and do
some things. There doesn't appear to be an event for that in the Compact
Framework using VB.NET.

Am I missing something? Any sample code anyone?

Thanks in advance,

Bob
 
I didn't find it either - what I do is store the last index my tab had
selected and then on the SelectedIndexChanged event
do my tidy up work.

Shaun
 
That's what I am currently doing myself now. But the problem is that the
screen changes before I get a chance to do anything and it looks bad! Not
to mention that I may not want to let them switch tabs at particular times.

Thanks for the response. I'll keep looking...

Bob
 
Back
Top