B4J Question B4X GameViewHelper.AddKeyListener

Coldrestart

Member
Licensed User
Hello,

Based on the game example, it is possible to capture keypresses using :
B4X:
GameViewHelper.AddKeyListener("GVH", Main.MainForm)

How can I use this in B4Xpages?
What parameter do I need to pass to link my form? B4XPages.MainPage or Root doesn't work.

The example of Erel:

Thanks in advance.
 
Top