Page 1 of 1

Keypress event

PostPosted: Sun Jul 24, 2016 7:45 pm
by millansoft
Hello,

Maybe a basic question for some of you, I was trying Neobook and I want to use some keys instead mouse to trigger some actions, is this possible?
I just see mouse events in the object properties, is there a way that I can trigger some action when I press the enter key for example?

Thanks

Re: Keypress event

PostPosted: Mon Jul 25, 2016 5:30 am
by Gaev
millansoft:

You can assign a "shortcut key" to a Push Button object ... and the commands you specify for the object's Click event will be triggered every time that particular key (or combination like Ctrl+G) is pressed.

You can use HideObject or place the object outside the publication's window if you do not want to have the user see such an object.

You can also do DisableObject and EnableObject to turn off/on triggering of such actions.