[Gambas-user] detect the "MenuKey" keypress

Tony Morehen tmorehen at ajm-software.com
Sat Dec 19 16:20:15 CET 2020

There are two ways: Assign a menu name to the form/comtrol's PopupMenu 
property or, more generally, write a function to handle the form/control 
Menu event.

On 2020-12-19 9:01 a.m., KKing wrote:
> can I detect the MenuKey (between right Alt and Ctrl keys) being 
> pressed in std graphics form?
> I'd like to raise popup menu on it being depressed
> xev shows it detected as keycode 135 on my unit but I don't know if 
> LXDE passes it through to Gambas?
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

More information about the User mailing list