ComponentOne True DBGrid Pro 8
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.

Syntax

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.

Remarks

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.

See Also

DataObject Object

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback