how do i make a keypress function like with api ,ex
is it somthing like this
Public declara function keypress(keyascii as integer)

somthing like that