Behavior question

J. Landman Gay jacque at hyperactivesw.com
Tue Jul 21 18:31:32 EDT 2015


On 7/21/2015 4:02 PM, Peter Haworth wrote:
> 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?

Onoe would think so. Does "send" work? It traverses the message 
hierarchy a little differently.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list