Source language: Translate to:

Keypress event

General questions about NeoBook

Moderator: Neosoft Support

Keypress event

Postby millansoft » Sun Jul 24, 2016 7:45 pm


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?

Posts: 1
Joined: Mon Mar 03, 2014 4:12 pm

Re: Keypress event

Postby Gaev » Mon Jul 25, 2016 5:30 am


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.
User avatar
Posts: 3757
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 4 guests