yes, that is how click events work.

similar to keystrokes, the actions are queued.

if you have genuine concerns that the user can click multiple time before the 
object method completes,
you can surround the code block with OBJECT SET ENABLED.
the appearance will not change (4D only refreshed the UI at the end of the even 
cycle)
but you will block clicks during method execution.

no need to do it everywhere, if your method is quick enough.

and for object methods that take more than a millisecond to complete,
the recommendation is to use a worker and CALL FORM to not block the UI.

2020/01/31 5:32、Charles Miller via 4D_Tech 
<[email protected]<mailto:[email protected]>>のメール:

When I click the up or down buttons I find that I can click them a
second time before the code to perform the action has completed. Is
that what others would expect?



**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to