Command AP Rect dragger

4D Pack

AP Rect dragger

version 6.0


AP Rect dragger (left; top; right; bottom; x; y) Integer

ParameterTypeDescription
leftLongintLeft coordinate of the visible rectangle
topLongintTop coordinate of the visible rectangle
rightLongintRight coordinate of the visible rectangle
bottomLongintBottom coordinate of the visible rectangle
xLongintHorizontal location of the mouse
yLongintVertical location of the mouse

Function resultIntegerProcess ID of the process in which
the item was dragged

Description

AP Rect dragger allows you to implement a "Drag and Drop" interface within 4D. It displays a graphical representation of an item being dragged from one place to antoher and returns the coordinates of the mouse release and the process ID of the process in which the item was dragged.

See also

CALL PROCESS.