| 4D v13PV Get drop info | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D View v13
 PV Get drop info 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PV Get drop info ( area ; option ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint |   | 4D View area | |||||
| option | Longint |   | Option number | |||||
| Function result | Longint |   | Option value | |||||
The PV Get drop info command returns the drag and drop property value for the specified option.
The PV Drop info constants are used to define option:
| Constant | Type | Value | Comment | 
| pv drag process | Longint | 0 | Returns the process number of the source area. | 
| pv drag plugin | Longint | 1 | Returns the number of the 4D View area dragged. | 
| pv drag column | Longint | 2 | Returns the number of the source column. | 
| pv drag row | Longint | 3 | Returns the number of the source row. | 
| pv drag X offset | Longint | 4 | Returns the X coordinates of the cell (starting from the upper left corner of the cell) where the drag action has been done. | 
| pv drag Y offset | Longint | 5 | Returns the Y coordinates of the cell (starting from the upper left corner of the cell) where the drag action has been done. | 
| pv drag content | Longint | 6 | |
| pv drop process | Longint | 7 | Returns the process number of the destination area. | 
| pv drop plugin | Longint | 8 | Returns the number of the area dropped. | 
| pv drop column | Longint | 9 | Returns the number of the destination column. | 
| pv drop row | Longint | 10 | Returns the number of the destination row. | 
| pv drop X offset | Longint | 11 | Returns the X coordinates of the cell (starting from the upper left corner of the cell) into which the drop action has been done. | 
| pv drop Y offset | Longint | 12 | Returns the Y coordinates of the cell (starting from the upper left corner of the cell) into which the drop action has been done. | 
| pv drop content | Longint | 13 | |
| pv drop action | Longint | 14 | Allows getting the drop action done by the user. Returns a constant from the PV Drop action theme. | 
Here are the constants of the PV Drop action theme:
 
| Constant | Type | Value | 
| pv entire area | Longint | 1 | 
| pv insert cell down | Longint | 2 | 
| pv insert cell right | Longint | 3 | 
| pv insert column | Longint | 7 | 
| pv insert row | Longint | 5 | 
| pv replace cell | Longint | 4 | 
| pv replace column | Longint | 8 | 
| pv replace row | Longint | 6 | 
Refer to the example for the PV SET DRAG SIGNATURES command.
	Product:  4D
	Theme:  PV Drag and drop
	Number:  
        15833
        
        
        
	
	Created:  4D View 6.8