> On Aug 11, 2016, at 2:34 PM, Sannyasin Brahmanathaswami <[email protected]> 
> wrote:
> 
> but looking for
> 
> OBJECT A (with behaviors)
>       behavior 1
>       behavior 2
>       bevaiour 3
> 
> all with an "equal standing"

I have a library called "libBehaviorList" you could use to give any object a 
list of behaviors, as if the "behavior" property evolved to allow a list. (I 
think it should, but I’m still exploring.)

A use case involves the script editor’s "Apply" button, whose events may matter 
to multiple development tools.  When that button already has a behavior, the 
process for adding another also adds complexity and adverse side effects.  The 
library encapsulates the complexity and prevents the adverse side effects (that 
I’ve seen).

Because multiple behaviors appear in a list whose sequence the developer 
controls, the message path stays deterministic.

If you’re interested, what would you like to know?

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

Reply via email to