Chapter Contents

Previous

Next
Widget Class: _moveRegion

Widget Class: _moveRegion



Moves or resizes an object


Syntax
Details

Syntax

objectName._moveRegion( );
objectName._moveRegion( upperLeft );
objectName._moveRegion( upperLeftX, upperLeftY );
objectName._moveRegion( upperLeftX, upperLeftY, lowerLeftX );
objectName._moveRegion( upperLeftX, upperLeftY, lowerLeftX, lowerLeftY );
objectName._moveRegion( upperLeftX, upperLeftY, lowerLeftX, lowerLeftY, units );
objectName._moveRegion( upperLeftX, upperLeftY, lowerLeftX, lowerLeftY,units,rc );


Details

The position for the moved and resized objects can be specified with ulx (upper left x), uly (upper left y), lrx (lower left x) and lry (lower left y).

If both upper left values and lower right values are specified, the region is positioned and sized at the new coordinates.

If upper left values are specified and lower right values are missing, the object is moved to the location specified by the upper left values. The size of the object is not changed.

If lower right values are specified and upper left values are missing, the lower right of the region is moved to the specified coordinates, causing the object to be resized.

If both upper left values and lower right values are missing, you are given an outline of the object to move and place, similar toadding a component when editing a frame.

Note:   The coordinates for the new region position are not necessarily the same as the coordinates of the actual widget. For example, specifying that a push button should be moved to column 10 actually causes the push button to be moved to column 11. The push button's region starts in column 10.  [cautionend]


Chapter Contents

Previous

Next

Top of Page

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