moveobjects
OBJECTNAME
,
NAMEOPERATOR
,
DELTAV
,
DELTAH

The moveobjects statement will move an object or group of objects up, down, left or right on the form.


Parameters

This statement has four parameters:

objectname – text to use in the selection of objects.

nameoperator – operator to use in selecting objects. The operator name must be enclosed in quotes. Any of Panorama’s string comparison operators can be used ("=", "contains", "beginswith" etc.).

deltav – The number of points (72 points = 1 inch) to move objects vertically.

deltah – The number of points to move objects horizontally.


Description

This statement will move an object or group of objects up, down, left or right on the form. Only objects with names that match the name and nameoperator parameters will be moved.

This example will move all objects with names that beginwith “Box” left 50 points.

moveobjects "Box","beginswith",0,-50

It is possible to move objects beyond the right-hand and lower window boundaries but they cannot be moved beyond the left-hand or upper window boundaries with this statement, with the changeobjects statement or manually in Graphics Mode. If you move multiple objects towards the left-hand or upper window boundaries, objects will move only if there is room to do so. This means that, in some cases, some objects will move while others remain in place, thus changing the relationship between individual object positions. You may not want this to happen.

This statement is based on the changeobjects statement, which can not only move objects, but change any object attribute.


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.