Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextBox, ENTER key
Message
From
20/07/2004 18:46:15
 
 
To
20/07/2004 18:31:30
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00926364
Message ID:
00926373
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform