Sending a message to multiple objects
Mark Schonewille
m.schonewille at economy-x-talk.com
Tue Apr 20 17:07:52 EDT 2010
Hi Pete,
You can use the dispatch command. Write a repeat loop, which
dispatches the message to all controls. If an object doesn't have the
handler for that message, nothing happens. If it does have the
handler, the handler runs. Read about the dispatch command in the
dictionary.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
We have updated TwistAWord. Download TwistAWord 1.1 at http://www.twistaword.net
Op 20 apr 2010, om 22:56 heeft Peter Haworth het volgende geschreven:
> Is there a way to send a message that will be processed by all
> objects in memory that have a handler script written for it, no
> matter where they are in the message path? I think it's called a
> broadcast message in other systems I've worked with.
>
> Thanks,
>
> Pete Haworth
More information about the use-livecode
mailing list