B
Bryan Dickerson
I have been told several times that the way I handle entering text and then
the <Enter> key in my programs is the wrong way. The current way I do it is
inherited from ancient times, but it works! When the user enters the text
he wants and then presses <Enter>, I have a WithEvents class that changes
the <Enter> to a <Tab> with the SendKeys command which then invokes the
LostFocus event where all my code is. I don't want to change the way it's
done while I'm still in VB6, but with VB.Net, I would like to move it to a
better way, if there is such a thing. Does anyone have any suggestions?
TIA!
the <Enter> key in my programs is the wrong way. The current way I do it is
inherited from ancient times, but it works! When the user enters the text
he wants and then presses <Enter>, I have a WithEvents class that changes
the <Enter> to a <Tab> with the SendKeys command which then invokes the
LostFocus event where all my code is. I don't want to change the way it's
done while I'm still in VB6, but with VB.Net, I would like to move it to a
better way, if there is such a thing. Does anyone have any suggestions?
TIA!