EventDropX()

Syntax

Result = EventDropX()
Description
After a #PB_Event_GadgetDrop or #PB_Event_WindowDrop is received by WaitWindowEvent() or WindowEvent(), this function returns the X position at which the data was dropped.

Parameters

None.

Return value

Returns the x coordinate of the drop location relative to the gadget or window in which the data was dropped.

See Also

EnableGadgetDrop(), EnableWindowDrop(), EventDropType(), EventDropAction(), EventDropY()

Supported OS

All

<- EventDropType() - DragDrop Index - EventDropY() ->