Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric Input
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
01156834
Message ID:
01158415
Vues:
21
>Absolutly
>
>Tried it a number of times with other code before i tried yours
>
>Is it worth trying other KeyEvents
>
>Did you get my note about KEYDOWN event
>
>In PocketP 2003 it works for REturn Key in PocketPS 2005 it doesnt!!!!!
>
>Regards
>
>R

You could try the textchanged event. Like this:
private void textBox1_TextChanged(object sender, EventArgs e)
{
  ((TextBox)sender).Text = ((TextBox)sender).Text.ToUpper();
  ((TextBox)sender).SelectionStart = ((TextBox)sender).Text.Length;
}
not as pretty as the keypress but it gets the job done. I would not use any of the other key events. Well maybe the keyup event.

What is wrong with the return key?

There is a forum for PDAs. There is also a separate category for compact framework here in the .net forum. You might want to try your luck there.
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform