EVENT_KEYDOWN

BlitzMax Forums/BlitzMax GUI Programming/EVENT_KEYDOWN

...to the Panel :
Local MyPanel:TGadget = CreatePanel(600,0,180,500,MyWindow,PANEL_GROUP | PANEL_ACTIVE,"MyPanel")


You may also have to activate the panel first, before it starts accepting input.