I have a program in which when the user enters F9 a procces starts, and when the user presses F3 the procces stops. Right now if the user enters F9 in the middle of the process it will start all over. How do I lock the F9 key after user enters it once? And the F9 key has to be enabled again after user enters F3. How do I do this.