Thanks for the suggestions, they're pretty much variations on what I'm already doing.
My point was that a lot of people have spent time coming up with various ways of getting a control's owning card/stack which to my way of thinking means there should be a built-in way of doing it. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Sun, Dec 7, 2014 at 6:58 AM, Dr. Hawkins <doch...@gmail.com> wrote: > On Sun, Dec 7, 2014 at 4:47 AM, Geoff Canyon <gcan...@gmail.com> wrote: > > > If the object in question is inside a group, you'd have to recurse your > way > > out, or you could use: > > > > put word -5 to -1 of the long id of btn 1 > > > > I actually define a shId() function for figuring these things out and > tracking them: > unction shId lId > --chop the id so it's faster to parse > return word 1 to 3 of lId && word -6 to -4 of lId > end shId > > adding words -10 to -7 would instead return the card as part of this, or > could be used instead of -6 to -4, I suppose, if the stack was a known > thing. > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > 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