Object Reference > True DBGrid Methods > SetData Method |
SetData Method
This method inserts data into a DataObject object using the specified data format.
dataobject.SetData [value], [format]
Arguments
value is an optional variant containing the data to be passed to the data object.
format is an optional constant or value that specifies the format of the data.
Return Value
None
The TDBGrid control supplies an argument of type DataObject when it fires the following events: OLEDragDrop, OLEDragOver, OLESetData, and OLEStartDrag.
Note
In this version of True DBGrid, only the vbCFText format is supported. If you omit the format argument, vbCFText is assumed.