The way that the keypress event works in VB.NET 2003 is annoyingly different from the way that it worked in VB6. In VB6 you could change the value of the key being pressed while in the event. IE: If the user pressed TAB you could change the keycode to CR, or if the user pressed a lowercase "a" you could change the keycode to an uppercase "A". In VB.NET 2003 it appears that to accomplish the same feat, you need to subclass the control (this is pretty easy in VB.NET I have to admit).
I found some references to the keypress event in VB.NET 2005 and it looks like keypress event handling in VB.NET 2005 has been changed to emulate that in VB6.
I found some references to the keypress event in VB.NET 2005 and it looks like keypress event handling in VB.NET 2005 has been changed to emulate that in VB6.
0 Comments:
Post a Comment
<< Home