|
-
Jan 12th, 2011, 12:43 PM
#1
Thread Starter
New Member
combobox keypress event
I'm new to VB, and I need some help. I'm trying to get the 'Enter' key to behave like the tab key in a combobox control. I've placed the following code in the keypress event:
If e.KeyChar = ToChar(Keys.Enter) Then
NextTextBox.Focus()
End If
When ran, nothing happens. I've placed a break point at the 'private sub' line, and the code is not breaking. What am I doing wrong?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|