version 2003
PA_GetDragAndDropTableField (info; tNum; fNum)
Parameter | Type | Description | |
info | PA_DragAndDropInfo | Current dragged object information | |
tNum | short * | Dragged field table number | |
fNum | short * | 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.