Previous tab control

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

in the SelectedIndexChanged how can we know which is the previous tab or
control that the user came from?

I know we could put code in "on focus lost" to set it to the previous
control, but is there any c# method that lets us do it ?

Thanks
HS
 
news.microsoft.com said:
in the SelectedIndexChanged how can we know which is the previous tab or
control that the user came from?

I know we could put code in "on focus lost" to set it to the previous
control, but is there any c# method that lets us do it ?


You can save the index of the last selected tabpage in the
'SelectedIndexChanged' event handler.
 

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