I do the same thing, except mine isn't a one liner. (Show off!) Bob S
> On Aug 8, 2015, at 15:51 , Richard Gaskin <ambassa...@fourthworld.com> wrote: > > dunbarx wrote: > >> Wait just a doggone minute. The long id of a control contains the stack >> reference. > > Yep - and being a lazy person this is how I get the stack reference: > > function ObjectStack pObj > return char (offset(" of stack ", pObj)+4) to -1 of pObj > end ObjectStack > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > ambassa...@fourthworld.com http://www.FourthWorld.com > > _______________________________________________ > 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