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-boun...@lists.runrev.com on behalf of bra...@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@lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode