Chapter Contents

Previous

Next
Widget Class: _copyRegion

Widget Class: _copyRegion



Copies an object


Syntax
Details

Syntax

objectName._copyRegion( );
objectName._copyRegion( upperLeftColumn );
objectName._copyRegion( upperLeftColumn, upperLeftRow );
objectName._copyRegion( upperLeftColumn, upperLeftRow, units );
objectName._copyRegion( upperLeftColumn, upperLeftRow, units, objectID );


Details

You can specify the position for the copied object with upperLeftColumn and upperLeftRow. If either upperLeftColumn or upperLeftRow (but not both) is missing, upperLeftColumn or upperLeftRow of the copied object is used. If both values are missing, you get an outline of the object to move and place similar to a MAKE operation when editing a Frame entry. For more information on units, see _new in the Class class. The location for the copied object is not necessarily the same as the location of the actual copied widget.

If the object being copied is nongraphical and the row and column position for upperLeftColumn and upperLeftRow attempt to overlay another nongraphical object, you will receive the message

ERROR: Non-graphic region overlap, operator aborted.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.