PA_GetDragAndDropTableField

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

version 2003


PA_GetDragAndDropTableField (info; tNum; fNum)

ParameterTypeDescription
infoPA_DragAndDropInfoCurrent dragged object information
tNumshort *Dragged field table number
fNumshort *Field number being drag/dropped

Description

The routine PA_GetDragAndDropTableField returns in *tNum and in *fNum the number of the table and of the field the user has drag/dropped onto the area.

If the dragged object is not a field, both values are returned null.

IMPORTANT NOTE

If the object is a field of the table that owns the form, *tNum will be 0. To get the table number of the owning table, the plug-in MUST call PA_GetPluginProperties at kInitArea event, and then it must store the fTabble field in its private data, to retreive later.

Example

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

See Also

Drag and drop with a plugin area, PA_GetDragAndDropKind, PA_GetDragAndDropVariable.


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