Can I find out what handler I am in?

Phil Davis phil at pdslabs.net
Fri Oct 25 13:28:32 EDT 2019


Tom, param(0) contains the name of the handler you're in.

on mouseUp
    put param(0)
end mouseUp

Would put into the message box:
     mouseUp


Phil Davis


On 10/25/19 10:00 AM, Tom Glod via use-livecode wrote:
> Hey you guys, I have searched high and low and I am pretty sure the answer
> is no , but I wanted to make sure before I did a feature request and a
> workaround.
>
> But is there a function that I can call inside a handler that will tell me
> the name of the handler?
>
> Just like the params() tells me the parameters of the current handler?
>

-- 
Phil Davis
503-307-4363





More information about the use-livecode mailing list