Livecode Wiki

Reports the groups on a card.Syntax:

get the groupNames of <card>


put the groupNames of card 1 into groupsToDelete
if x is among the lines of the groupNames of card y then next repeat

Use the groupNames property to find out which groups are placed on a card.

If a group on the card contains groups, only the top-level groups are reported.

To find out which groups are in a stack, use the backgroundNames property.

Changes: In versions before 1.1, groupNames and backgroundNames were synonyms and could be used interchangeably.

See also: nameChanged (message),groupIDs (property),