How do you prevent problems with a button being pressed more than once?
-
29-09-2019 - |
문제
In a windowed programming environment, a user may click a button more than once if they do not immediately see something happen.
How do you stop the code behind the button being executed more than once in this situation?
해결책
In addition to disabling the button, a wait cursor will visually help the user to see that something is happening.
다른 팁
You can disable the button until the action is complete
제휴하지 않습니다 StackOverflow