Groups | Blog | Home
all groups > vb.net > february 2006 >

vb.net : Tab key trapping in VB.Net 2005


jvb
2/17/2006 10:41:20 AM
Try setting the acceptstab property..
jvb
2/17/2006 12:23:43 PM
Your welcome...
Chris
2/17/2006 2:11:33 PM
[quoted text, click to view]

Override the ProcessCmdKey function. that will give you access to the
Tab and other keys not in the keypress event.

Aaron Smith
2/17/2006 6:30:29 PM
How do you trap the tab key in a textbox? I have tried all the key
events, and none of them seem to work right with the tab key. It seems
when you press the tab key in one textbox, the keyup event of the next
textbox in in the tab order gets the tab keyup event. I need to know
when the tab key is pressed in the current text box, not the next one...

--
---
Aaron Smith
Aaron Smith
2/17/2006 7:45:02 PM
This works perfectly. Thanks!

[quoted text, click to view]


--
---
Aaron Smith
AddThis Social Bookmark Button