Behaviors

Peter Haworth pete at lcsql.com
Wed Sep 24 20:16:33 EDT 2014


Hi Richard,
Our posts crossed, thanks for the QCC reference.

Your QCC report describes a situation very similar to mine - using a
library stack to hold the behaviors.  However, my behaviors start off
behaving themselves and only start misbehaving at some point later in using
the stack.

I think perhaps the library problem is not biting me because I set up a
reference to the library stack in my mainstack's stackFiles property.
Maybe that forces the library stack to be opened in time for the behaviors
to be resolved?  I still issue a "start using" command because the library
has a bunch of handlers in it in addition to the behavior buttons.

In spite of all that I agree with your QCC report and have added myself to
the list of interested folks.  Mark's solution seems to be a nice way to
resolve it.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Wed, Sep 24, 2014 at 4:11 PM, Richard Gaskin <ambassador at fourthworld.com>
wrote:

> Peter Haworth wrote:
>
>> Anyone else's applications' guilty of bad behavior like this and if so is
>> there a way to correct their behavior?
>>
>
> May be relevant:
>
> Behavior resolution is too strict and is confusing
> http://quality.runrev.com/show_bug.cgi?id=8993
>
> The only workaround I've used is to walk through all objects, setting
> their behavior property to the value of their behavior property.  Yes,
> silly, but it works.  It's like behaviors need a kick start under certain
> circumstances.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  ____________________________________________________________________
>  Ambassador at FourthWorld.com                http://www.FourthWorld.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list