TiObjectCanvas.ShiftObject

TiObjectCanvas

Used to shift an object's X and Y position.

procedure ShiftObject(Handle : Integer, XDelta, YDelta : Double);

Description

Call ShiftObject to shift an object's X and Y position. Positive XDelta values will move an object to the right. Positive YDelta values will move an object up.

Example

Delphi

iComponent.ShiftObject(5, 10, 10);

C++ Builder

iComponent->ShiftObject(5, 10, 10);

Contents | Index | Previous | Next