Hello, I managed to solve the problem using the following code:



Dim tabactivo = tabpanel1.ActiveTab.ID