In the keypressed event, type txtWhatever.text = Index? (or keyascii?). Don't have VB6 on this box, but you will see the name of the variable that the sub procedure accepts in the parentheses.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.