PA_GetDragAndDropVariable


version 2003


PA_GetDragAndDropVariable (info; index) → PA_Variable

Parameter Type Description
info PA_DragAndDropInfo Current dragged object information
index long * Index of the element array
Function result PA_Variable The drag/dropped object

Description

The routine PA_GetDragAndDropVariable returns the variable being drag/dropped. If it is an array, *index will contain the indice of the dragged element, otherwise *indice is set to 0.

IMPORTANT NOTE

The variable belongs to 4th Dimension. The plug-in should never dispose of it, especially for text, BLOBs and pictures.

Example

See the sample in Drag and drop with a plugin area .

See Also

Drag and drop with a plugin area , PA_GetDragAndDropKind .