"this me" vs "me"

Scott Rossi scott at tactilemedia.com
Tue Apr 5 23:48:51 EDT 2016


Using "this me" gets you the long id of the object (button/stack) serving
as a control's behavior. Using "me" by itself gets you the long id of the
control the behavior is assigned to.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/5/16, 7:34 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami"
<use-livecode-bounces at lists.runrev.com on behalf of brahma at hindu.org>
wrote:

>Rummaging through all the IDE scripts, lots of gold in there.
>
>on setAsBehavior pTarget
>   set the behavior of pTarget to the long id of this me
>end setAsBehavior
>
>What does the use of "this" get us? vs just using "me"
>
>I read the dictionary entry... doesn't help with understanding the use
>case for one or the other.
>
>FYI this is taken from
>
>script "revPaletteBehavior"
>
>
>_______________________________________________
>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