PA_GetDragAndDropVariable

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_GetDragAndDropVariable (info; index) PA_Variable

ParameterTypeDescription
infoPA_DragAndDropInfoCurrent dragged object information
indexlong *Index of the element array
Function resultPA_VariableThe 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.


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next