4D Pack v12

AP Rect dragger

Home

 
4D Pack v12
AP Rect dragger

 

AP Rect dragger 


 

AP Rect dragger ( left ; top ; right ; bottom ; x ; y ) -> Function result 
Parameter Type   Description
left  Longint in Left coordinate of the visible rectangle
top  Longint in Top coordinate of the visible rectangle
right  Longint in Right coordinate of the visible rectangle
bottom  Longint in Bottom coordinate of the visible rectangle
Longint in Horizontal location of the mouse
Longint in Vertical location of the mouse
Function result  Integer in Process ID of the process in which the item was dragged

Compatibility note: Beginning with 4D v12, this command is no longer supported under Mac OS (all versions).

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 another and returns the coordinates of the mouse release and the process ID of the process in which the item was dragged. This means that interprocess drag and drop operations can be performed, for example, by calling the destination process with CALL PROCESS.

This command must be called from an invisible button.

 
PROPERTIES 

Product: 4D Pack
Theme: 4D_Pack : User Interface
Number: 61998

Mac OS specific

 
HISTORY 

Created: 4D Pack 6
Modified: 4D v12