EVENT_KEYDOWN

BlitzMax Forums/BlitzMax GUI Programming/EVENT_KEYDOWN

You need to also include the flag PANEL_ACTIVE.