06-26-2024, 03:18 PM
(translated by Google translator)
This will not necessarily result in the processor being idle.
While the Program is waiting for a key to be pressed, the Program can execute the Pause Method, or the Program can execute any other code you want.
As soon as the “Key Pressed” event handler routine determines that a key has been pressed, the routine will perform the actions that you wrote in the handler code.
Give us the specific code so we can fix it easily.
This will not necessarily result in the processor being idle.
While the Program is waiting for a key to be pressed, the Program can execute the Pause Method, or the Program can execute any other code you want.
As soon as the “Key Pressed” event handler routine determines that a key has been pressed, the routine will perform the actions that you wrote in the handler code.
Give us the specific code so we can fix it easily.