Behavior question

Peter Haworth pete at
Tue Jul 21 17:02:49 EDT 2015

I have a button named "myButton" with a behavior "myBehavior" whose script
includes a handler named "loadData".

>From anther control I execute:

dispatch "loadData" to button "myButton"

The loadData handler is not executed and the it variable contains
"unhandled" after the dispatch command.

That should work, shouldn't it?

More information about the Use-livecode mailing list