Si scusa ho sbagliato ad editare il codice, in realta e' :
codice:
TCPrincipale.SelectedIndex = 4
TCimmagine.SelectedIndex = 1
Quello che non mi spiego è perche alla fine di tutte le operazioni la scheda che mi appare è completamente vuota e non ha nessun controllo es. di codice da me usato:
codice:
If w10 = False Then
TCReale.TabPages.Add(TPreale10)
TCcodice.TabPages.Add(TPcodice10)
TCvista.TabPages.Add(TPvista10)
Me.TCPrincipale.SelectedTab = TPreale10
TPreale10.Text = nf
TPcodice10.Text = nf
TPvista10.Text = nf
LBLfogli.Text = "10"
numero_scheda_htm_php_asp = 10
w10 = True
TCPrincipale.SelectedIndex = 1
TCimmagine.SelectedIndex = 10
End If
End If
Grazie.