how to simulate key being pressed

M

Mike

I have a form with a textbox and a button. If I press
the button, I want to type the letter q into the
textbox. What would I put into the event handler of the
button in order to simulate the q key being pressed?
Thank you for your reply.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top