t = GetLayerGroupMembers(group$)
group$ and returns
them in a table. The order in which the group members are returned in the table is
arbitrary.
You need to enable layers before you can use this function. See Layers introduction for details.
t = GetLayerGroupMembers("mygroup")
For Local k = 0 To ListItems(t) - 1 Do DebugPrint(t[k])
The code above gets all members of the layer group "mygroup" and prints them.