On 7/15/23 12:51 PM, Tweedly via use-livecode wrote:
Maybe keep the script in a custom property ?

That's what I usually do. If the variables or references may change, I use placeholders and the merge command to replace things before setting the script on the control.

If it's a very short script I sometimes use this method:

set the script of tObj to "on mouseUp;doSomething;end mouseUp"

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to