Vorrei per favore un modo per poter captare le schede di un tabcontrol, cioe quando vengono selezionate, o il focus cambia, ecco il codice :
codice:
If TCPrincipale.SelectedTab Is TCReale Then 
If TCReale.SelectedTab Is TPreale1 Then 
Beep() 'non funzia 
End If 
End If