EventDropAction()

Syntax

Result = EventDropAction()
Description
After a #PB_Event_GadgetDrop or #PB_Event_WindowDrop is received by WaitWindowEvent() or WindowEvent(), this function returns the action that should be taken with the data.

Parameters

None.

Return value

Returns one of the following values:
  #PB_Drag_Copy: The data should be copied
  #PB_Drag_Move: The data should be moved (The drag source is responsible for removing the original data)
  #PB_Drag_Link: The data should be linked

See Also

EnableGadgetDrop(), EnableWindowDrop(), EventDropType(), EventDropX(), EventDropY()

Supported OS

All

<- EnableWindowDrop() - DragDrop Index - EventDropBuffer() ->