Inserts data into a ExDataObject object using the specified data format.
Type | Description | |||
Value as Variant | A data that is going to be inserted to ExDataObject object. | |||
Format as Variant | A constant or value that specifies the data format, as described in exClipboardFormatEnum enum |
Use SetData property to insert data for OLE drag and drop operations. Use the Files property is you are going to add new files to the clipboard data. The OleDragDrop event notifies your application that the user drags some data on the control.