I tried enable object first. It has no effect. I cN get Multiple clicks in. I even tried disable object first line of code and enable on click for select in hr list box. Also had no effect. I can get multiple clicks in
On Thu, Jan 30, 2020 at 5:14 PM Keisuke Miyako via 4D_Tech < [email protected]> wrote: > 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] > ********************************************************************** -- ----------------------------------------------------------------------------------------- Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064 Informed Solutions, Inc. Brookline, MA 02446 USA Registered 4D Developer Providers of 4D, Sybase & SQL Server connectivity https://www.informed-solutions.com ----------------------------------------------------------------------------------------- This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. ********************************************************************** 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] **********************************************************************

