Help me to terminate pro. by checking a condition
If my program taking inputs and i want to stop taking input if user entre entre key or number or any thing. How can i do such thing.
[139 byte] By [
jolaa] at [2007-10-2 11:25:31]

Make a flag (boolean variable) that you set when you don't want any more input. Then when each event handler is called, check the flag before you process; if it's set, then don't handle the event.