No, there is no keyboard event, in GetNumber you can subscribe to. However, if your number getting code was in a loop, then after every call to GetNumber you could get the number entered by the user and do something with it.
Perhaps we could use more information on what specifically you are trying to do an why…