fpgapplication.onkeypress added.