Difference makes the DIFFERENCE
Categorised Menu List
KeyDown Event - When a key is Pressed and not yet Released, the code in this event is executed as soon as you press the any key or to the key to which the program is written.
KeyUp Event - When a key is released, but not when any key is pressed
=> meaning... when a key is pressed, no code works or executed, unless there is another piece of code writen for
KeyDown Event.
Key Press - When a key on the keyboard is pressed and relesed... ie., when a key is press and released immediately, and not after some time.
To summarise: Three keyboard events namely: KeyDown, KeyUp, KeyPress.
Please refer to chr() and asc() in excel or in access. This will help, to understand, what an ASCII (American Standard Code for Information and Interchange) code is and what does chr() and asc() are...
Event handler is nothing more than a procedure/function. Events are executed
All the content that you learn here will not be of any use, until you practice, so I urge you to practice. As and when you practice, you get more doubts as to how to go ahead, these doubts strengthen your knowledge and lead you to experience.
or with system interaction with system (ie., idle event - executed when the system is doing no activity from user's persective, a good example is screen saver, or auto-screen lock or a scheduler which runs automatically when said condition is met etc...)
The above code checks whether or not to print certain characters.
This code is very simple and no mastery ever required.