Hi jbv,

> Am 23.08.2024 um 13:27 schrieb jbv via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> Hi list,
> 
> Is there a quick way to check if a group contains a specific control,
> something like :
> if there is a fld "xyz" in grp "abc" of this cd
> I tried many things but it always generates an error.
> So far, the only way I can think of is to maintain a custom prop
> for each group, featuring a string that is the list of all controls
> names of the group.

if you don't have any other controls with the same name, 
you could check: 
-> lineoffset("xyz",the childcontrolnames of grp "abc")

> Thank you in advance.
> jbv

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


_______________________________________________
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