Torna al Thread
Private Sub TextBox6_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox6.KeyUp
If Me.TextBox6.SelectionLength <> Me.TextBox6.Text.Length Then
caricanazione(Me.TextBox6.Text)
End If
End Sub
Private Sub caricanazione(ByVal nazione As String)
ObjNazione.Nazione = nazione
oNazione = Read_record_Naz.CaricaRec(ObjNazione)
If IsNothing(oNazione.Nazione) = False Then
Me.TextBox6.Text = oNazione.Nazione
Me.Label11.Text = oNazione.CodNazione
Me.TextBox6.SelectionStart = nazione.Length
Me.TextBox6.SelectionLength = Me.TextBox6.TextLength - nazione.Length
End If
End Sub