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
Mayur Gujrathi
NA
119
403.1k
Problem
Nov 24 2010 11:14 PM
Respected Developers
I have used following code for navigating between controls on enter click.But It is working properly on only forms.But In my project I have used User controls instead of forms. I am calling user controls on form, But this code is not working properly for user controls
Please help
protected override void OnKeyUp(System.Windows.Forms.KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
e.Handled = true;
this.ProcessTabKey(!e.Shift);
}
else
{
e.Handled = false;
base.OnKeyUp(e);
}
}
Reply
Answers (
0
)
Equivalent of this C# code in VB
Struct Vs Class for Array Element?