CT MOVE

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT MOVE (area; scope; newLeft; newTop)

ParameterTypeDescription
areaLongint4D Chart area
scopeLongintScope of the command
-1 = All
0 = Selected objects
>0 = Object ID
newLeftRealNew coordinate of the left edge
newTopRealNew coordinate of the top edge

Description

The CT MOVE command repositions the objects in area described by scope.

If scope equals -1, CT MOVE repositions all objects in the document.

If scope equals 0, CT MOVE repositions the selected objects.

If scope is greater than 0, it must be equal to a specific object's ID and that object is repositioned.

The object(s) described by scope are moved according to the newLeft and newTop parameters, specified as offsets from the current origin.

Example

This example moves the selected objects to the top left corner of the chart area.

   CT MOVE (Area;0;0;0)

See Also

CT Get ID, CT SIZE.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next