Object Reference > True DBGrid Methods > GetFormat Method |
GetFormat Method
Given a clipboard format constant or an equivalent value, this method returns True if a DataObject object contains a matching value, False otherwise.
dataobject.GetFormat (format)
Arguments
format is a constant or value that specifies the data format being queried.
Return Value
A Boolean that indicates whether a data object contains an item that matches the specified 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. This constant has a value of 1 in Visual Basic.