Object Reference > True DBGrid Methods > GetData Method |
GetData Method
This method retrieves data from a DataObject object using the specified data format.
dataobject.GetData (format)
Arguments
format is a constant or value that specifies the data format being requested.
Return Value
A variant containing the data for the requested format.
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 supply an argument of zero, vbCFText is assumed.