Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TextBox, ENTER key
Message
De
20/07/2004 18:46:15
 
 
À
20/07/2004 18:31:30
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00926364
Message ID:
00926373
Vues:
17
Thanks ~~Bonnie! :)

SendKeys was the part I couldn't find (and it is KeyPress):
if (e.KeyChar == (char)13)
{
   System.Windows.Forms.SendKeys.Send(""+(char)9);
}
>Trap it in either the KeyPress or the KeyDown Event Handler (I can never remember which is which, look it up in Help, but I think you want KeyDown) and then use SendKeys to send a TAB.
>
>~~Bonnie
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform