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.
 
Back
Top