CwUngroupObjects

Syntax:

call CwUngroupObjects hGroup

        hGroup          (handle) The handle to a group

Description:

This procedure removes all objects from a group, then destroys the group. It is roughly equivalent to the "Ungroup" menu option in the user interface.

Example:

/* Create a group, fill it with random objects, then ungroup the objects. */
gh = CwAddObjectToGroup(randobj(), 0)

do i = 1 to 20
        obj = randobj()
        call CwAddObjectToGroup obj, gh
        end

call CwUngroupObjects gh


Functions by NAME

Index

Functions by PURPOSE