ComponentOne List 8.0 for ActiveX
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

Method applies to DataObject object.

The TDBCombo control supplies an argument of type DataObject when it fires the following events: OLEDragDrop, OLEDragOver, OLESetData, and OLEStartDrag.

Note: In this version of True DBList, only the vbCFText format is supported. This constant has a value of 1 in Visual Basic.

See Also

DataObject Object, DataObjectFiles Collection

 

 


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

Product Support Forum  |  Documentation Feedback