property DragInfo.DeltaX as Long
Returns the offset on the x-coordinate of the the current drag operation.

TypeDescription
Long A Long expression that returns the offset on the x-coordinate of the the current drag operation.

The DeltaX / DeltaY property indicates the current (horizontal, vertical)-offset of the movement during dragging operation. The OffsetX / OffsetY property specifies the (x,y)-position of the layer, relative to the upper-left corner of the control. The  OffsetXValid / OffsetYValid property to validate the (x,y)-position of the layer. For instance, you can use the OffsetYValid property on "0", and so no vertical movement is allowed.

The following properties can be used during dragging to determine the horizontal / vertical offset:

The DeltaAngle property specifies the angle (in degrees) that has been rotated the layer/object, during the drag operation.