Kill a handler
dunbarx at aol.com
dunbarx at aol.com
Sat Mar 29 11:36:34 EDT 2014
To break into your loop so that an external control can, er, take control, add this line as appropriate inside your loop(s):
wait 0 with messages
This will let the handler look outside itself for a brief instant, so that a mouseUp message can be generated by that "cancel" button.
You do know that cmd-period will abort any running hsndler, right?
Craig Newman
-----Original Message-----
From: Nakia Brewer <Nakia.Brewer at westrac.com.au>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Sat, Mar 29, 2014 5:45 am
Subject: Kill a handler
Hi,
Is there a way u can kill a handler that is currently running (has long loops on
it so runs a while).
I am building a desktop version of the mobileActivity indicator and want to add
a cancel button so it can cancel any current operation within the program...
Sent from my iPhone
COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain
confidential proprietary or privileged information. If you are not the intended
recipient, you are strictly prohibited from using, reproducing, disclosing or
distributing the information contained in this email without authorisation from
WesTrac. If you have received this message in error please contact WesTrac on
+61 8 9377 9444. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. We reserve the right to monitor all e-mail communications.
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list