I havent figured it out, i will give it a try tonight and post my results. I also checked the sdk page for labelist and no, getchildcount() is not there, so maybe it should be added. thank you a lot for your kind response.
getChildCount() comes from https://sdkdocs.roku.com/display/sdkdoc ... deChildren
- which every Node supports.
All UI nodes are subclasses of Group, which is a subclass of Node, also known as roSgNode. The closest thing to a class diagram for RSG i have seen is actually... another question, https://forums.roku.com/viewtopic.php?f=34&t=95613
. Looking at that - only partial! - sketch, LabelList can do everything that ArrayGrid, Group and Node can do.
Using getChildCount() would be a bit of a hack, since it will count any direct children of LabelList - but as long as you haven't added extra dough there, it should do the job.