[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SendKeys() in Wayland
[Thread Prev] | [Thread Next]
- Subject: SendKeys() in Wayland
- From: Safiur Rahman <isafiur@xxxxxxxxx>
- Date: Thu, 23 Jan 2025 10:34:01 +0545
- To: user <user@xxxxxxxxxxxxxxxxxxxxxx>
Hi
A lot of distributions are now recommending Wayland, especially Ubuntu.
However, Wayland component in gambas has no support for Desktop.SendKeys()
yet.
We have been using SendKeys extensively to allow user press Return key to
move the cursor to the next control (eg TextBox). How can this be achieved
in Wayland?
I am using following code:
If Key.Code = Key.Return Or If Key.Code = Key.Enter Or If Key.Code =
Key.AltKey Then
If Application.ActiveControl
Desktop.SendKeys("\t")
Endif
Endif
--
Regards
Safiur Rahman
| Re: SendKeys() in Wayland | Bruce Steers <bsteers4@xxxxxxxxx> |
| Re: SendKeys() in Wayland | Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx> |