the objectType of me?

Shao Sean shaosean at
Sun Jun 26 10:03:37 EDT 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