I have an aplication where i use KeyPressEvent and it is introducing some bugs in my aplication and i can't figure it out. What i want to try now is if it possible to stop a event from execute during an aplication.
like:
function teste(){
//start
KeyPressEvents = off!
.....
.....
.....
//finish
KeyPressEvents = on!
}