NumSelected

Description:              This function returns the number of selected graphics statements in a window.

Returns:                    Numeric

Usage:                       Script or Steady State

Format:                      NumSelected(Object)

Parameters:             Object    { Object value }  { required }  { no default }

                                      Any expression for the object that defines the window.

Example:

selGraphic = NumSelected(CurrentWindow());

This will set selGraphic to the number of currently selected objects in the window that the mouse is presently over.

See Also:

SelectGraphic | UnselectGraphics | UnselectObject