I’ve also discovered the childControlIDs and the childControlNames. These list 
the direct children of a group. The controlNames and controlIDs list EVERY 
object on a card whether grouped or not. 

The latter becomes especially handy of you preface your object names with some 
kind of type identifier. For example fld, btn, menu, grp, dg. Then you can for 
example filter the controlNames with “fld*” and presto! a list of all the 
fields on your card! 

In my stack scripts now I always use me when referring to the stack. 

Bob S


> On Apr 17, 2020, at 6:53 PM, Phil Davis via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> I feel your pain! I switched to using "of me" or "of the owner of me" 
> whenever possible which works very well in many/most cases, but sometimes it 
> just isn't enough.
> 
> Phil Davis

_______________________________________________
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

Reply via email to