Enabling drag and drop for an OLE object
Suppose you want to drag an OLE object from the Records OLE Client part to the Description OLE Client part. To enable drag and drop between the two parts, change the settings for the dragDropSpec property of the parts.
In the Drag Drop Spec window for the Records OLE Client part, do the following:
Specify a data type of Platform Drag Drop Spec.
Set canBeDragSource to true.
Specify only XmDROPCOPY for dragOperations.
For exportTargetTypes, specify Application Defined and add OLE Object. Make sure you enter OLE Object exactly as shown.
Select OK and close the settings.
In the Drag Drop Spec window for the Description OLE Client part:
Specify a data type of Platform Drag Drop Spec.
Set canBeDragTarget to true.
For importTargetTypes, specify Application Defined and add OLE Object.
Select OK and close the settings.
After you change the settings, try dragging an object from the Records OLE Client to the Description OLE Client.
Last modified date: 01/29/2015