Name
ONKEYDOWNALL -- user invoked any keydown (V1.5) / OBSOLETE
Synopsis
Label(ONKEYDOWNALL)
Function
Attention: This function is part of the Hollywood 1.x event library. You should not use it any longer. Please use the functions of the new library from Hollywood 2.0 which is much better.

If you specify this event and it is enabled, Hollywood will always jump to this label when it gets an ONKEYDOWN event. If you want to know, which keydown caused the label jump, just call GetEventCode(). It will return which keydown caused the event.

This event is very useful if you have e.g. 100 or more keydown's and every keydown just does a Gosub() to a sub-routine which receives an id which key was pressed. Instead of defining 100 labels now, you can just use ONKEYDOWNALL together with GetEventCode().

Inputs
none

Example
See ONBUTTONCLICKALL


Show TOC