Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 16093

[RESOLVED] Simulate Enter key pressed

$
0
0
I have a textbox that after the data is entered the user presses the enter key to complete that entry. I watch for an enter key press in Text1.keypress. If keyascii is 13 then I proceed with processing the data. I need to be able to simulate the Enter key press. Adding a chr$(13) or a vbcr to the text doesn't simulate a keypress.

Viewing all articles
Browse latest Browse all 16093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>