the objectType of me?

Shao Sean shaosean at
Sun Jun 26 09:03:37 CDT 2011

You could always use a frontScript to add that functionality yourself..

getProp controlType
   return word 1 of the name of the target
end controlType

if (the controlType of me = "button") then
   # do button stuff
   # do non-button stuff
end if

More information about the use-livecode mailing list