OKD={}; OKD.onKeyDown = function(){ TField.text+=" "+String.fromCharCode(Key.getAscii()); } Key.addListener(OKD);