A
A
Artem2016-07-15 14:19:13
Programming
Artem, 2016-07-15 14:19:13

How to make keyboard keypress simulation on button c# to enter information in webBrowser?

7bd57f39210f437589d555ac408ec712.png
I added a row of buttons to the panel element. For the "1" key, I entered the code: {SendKeys.Send("1");} But when I type in the webBroser, nothing happens and the input panel is deselected. How can I implement this button, so that later, by analogy, do the rest?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Fedoryan, 2016-07-15
@Deni74

On click, first return focus to the browser, and then send the button.
www.codeproject.com/Articles/13596/Touchscreen Key...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question