TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Bineesh Viswanath
NA
1k
775.6k
Functioning of Enter, Escape and Backspace Keys in Textbox
May 25 2013 7:12 AM
Sir, I am now doing a Program that has numbers of text boxes , combo Boxes and datetimePickers.
I needed the code to:-
Function: Enter, Back Space and Escape Keys.
I got the Code to function Enter Key:-
(if(e.key code==keys.Enter)
{
textBox2.Focus)
}
but what i need is when I press Enter Key from text Box1, i want to cursor to be in the starting Point to the textBox2 if text Box is !=null
when I press Back Space Key, i want to return to the Starting Point previous text Box if text Box!=null
if all text Box is ==string.Empty, I want the rounding of cursor throughout all the text Box when press Back Space Key.
Please help me.
Reply
Answers (
2
)
captcha control
Assign Mutex to each Thread