Rank: Member Groups: Member
Joined: 4/17/2016 Posts: 11
|
Hi, I would like to report a bug.
webView SendKeyEvent is not working for normal keyboard keys, i.e. 0 to 9, A - Z.
It works only for ctrl-A, ctrl-C etc, i.e. combination of keys but not for single keypress.
Working eoWebView.SendKeyEvent(true, KeyCode.V, EventFlags.ControlDown);
Not Working eoWebView.SendKeyEvent(true, KeyCode.V); OR eoWebView.SendKeyEvent(true, KeyCode.V, EventFlags.None);
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
You will need to use SendChar for keypress event. Otherwise you will need to use SendKeyEvent(down) and SendKeyEvent(up) pair, which is not reliable since the key may repeat in between.
Thanks!
|