Drag and drop operations are used to move or copy objects from one place to another.
A drag and drop operation starts when you select an object with the mouse by clicking the left mouse button. Then you drag the object with the mouse holding the left mouse button down, and finally drop the object by releasing the left mouse button.
A drag and drop operation consists of four events:

The object being dragged and dropped is the Payload.
To enable LANSA controls to accept file paths from Windows Explorer during drag over and drag drop events, enable the following property on Sys_Appln in (for example) #com_owner.Initialize. #SYS_APPLN.AllowWindowsDragDrop := True
When dragging files, the Payload parameter of the event handlers contains a component interface of type #PRIM_APPL.IDragDropFilePaths.

The interface exposes two methods:

FileCount

to ascertain the number of files being dragged

FilePath<index>

to obtain the file path at position index

 
Following is an example of how this functionality can be used to allow a ListView control to obtain a list of file paths being drag-dropped on it.
Create a new form and replace its source with the following code.