Bonjour,

J'aimerai transformer dans TextBox_KeyDown la touche en ToUpper!

Présentement je fais ceci, sa fonctionne, mais le résultat est horrible

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
 
Private Sub TextBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox.TextChanged
        'Met la touche frappé en majuscule
         TextBox.Text = TextBox.Text.ToUpper
         TextBox.SelectionStart = TextBox.TextLength
End Sub
Merci