Move

<< Click to Display Table of Contents >>

Navigation:  TMyCAD > Methods >

Move

procedure Move(AShape:TMyShape;Dx,Dy:integer);

 

Description:

 

 move a shape or a grouped shape by code.OnShapeDragging event tigged.

 

Example:

 

AShape:= MyCAD1.GetSelectedShape;

if AShape <> nil then

  MyCAD1.Move(AShape,20,40);

 

See Also:

 

OnShapeDragging