C# - Upon pressing the enter key tabs to the next control
C# - Upon pressing the enter key tabs to the next control
API Declarations
.Net Language: C#
The code is created in Visual Studio's IDE. Open your Visual Studio or a text editor and copy and paste the code below.
Rate C# - Upon pressing the enter key tabs to the next control
(2(2 Vote))
{
// **************************************************
// Description : If the user presses the enter key then
// the focus will be on the next tab index.
// Author : Ulysses R. Gotera
// Date Created: Sunday, January 08, 2006
// Country : Philippines
// **************************************************
//
if (e.KeyChar == (char)13)
SendKeys.Send("{TAB}");
}
C# - Upon pressing the enter key tabs to the next control Comments
No comments yet — be the first to post one!
Post a Comment