find name of handler that triggered current handler

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

find name of handler that triggered current handler

Tom Glod via use-livecode
Hi folks,

How do i find the name and location of a handler that triggered the current
handler?  somehow it seems like it should be possible and necessary, but i
can't seem to find any reference to it.

Thanks,

Tom
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: find name of handler that triggered current handler

Tom Glod via use-livecode
Look at executionContexts in the dictionary, it should do what you want.

On Thu, Sep 28, 2017 at 1:15 PM, Tom Glod via use-livecode <
[hidden email]> wrote:

> Hi folks,
>
> How do i find the name and location of a handler that triggered the current
> handler?  somehow it seems like it should be possible and necessary, but i
> can't seem to find any reference to it.
>
> Thanks,
>
> Tom
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: find name of handler that triggered current handler

Tom Glod via use-livecode
i think this will do.... thanks Mike

On Thu, Sep 28, 2017 at 3:18 PM, Mike Bonner via use-livecode <
[hidden email]> wrote:

> Look at executionContexts in the dictionary, it should do what you want.
>
> On Thu, Sep 28, 2017 at 1:15 PM, Tom Glod via use-livecode <
> [hidden email]> wrote:
>
> > Hi folks,
> >
> > How do i find the name and location of a handler that triggered the
> current
> > handler?  somehow it seems like it should be possible and necessary, but
> i
> > can't seem to find any reference to it.
> >
> > Thanks,
> >
> > Tom
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://post.spmailt.com/f/a/W2dVQP8COTZ0h1F0sTmGUw~~/AAGp3AA~/RgRbrpCjP0EIACzmqSeEBThXA3NwY1gEAAAAAFkGc2hhcmVkYQdoZWxsb18xYA4zNS4xNjAuMTgyLjE1NkIKAAAjXc1ZIygYb1IddXNlLWxpdmVjb2RlQGxpc3RzLnJ1bnJldi5jb20JUQQAAAAARDVodHRwOi8vbGlzdHMucnVucmV2LmNvbS9tYWlsbWFuL2xpc3RpbmZvL3VzZS1saXZlY29kZUcCe30~
> >
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://post.spmailt.com/f/a/W2dVQP8COTZ0h1F0sTmGUw~~/AAGp3AA~/RgRbrpCjP0EIACzmqSeEBThXA3NwY1gEAAAAAFkGc2hhcmVkYQdoZWxsb18xYA4zNS4xNjAuMTgyLjE1NkIKAAAjXc1ZIygYb1IddXNlLWxpdmVjb2RlQGxpc3RzLnJ1bnJldi5jb20JUQQAAAAARDVodHRwOi8vbGlzdHMucnVucmV2LmNvbS9tYWlsbWFuL2xpc3RpbmZvL3VzZS1saXZlY29kZUcCe30~
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: find name of handler that triggered current handler

Tom Glod via use-livecode
Should be line -2 of the executionContexts.

Bob S


> On Sep 28, 2017, at 13:35 , Tom Glod via use-livecode <[hidden email]> wrote:
>
> i think this will do.... thanks Mike


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