ComponentOne True DBGrid Pro 8
Clear Method (DataObject)

 

Object Reference> True DBGrid Methods> Clear Method (DataObject)

Clear Method (DataObject)

This method deletes the contents of a DataObject object.

Syntax

dataobject.Clear

Arguments

None

Return Value

None

Remarks

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

Note

This method is available only when the grid is the source component of a drag/drop operation (that is, within the OLESetData and OLEStartDrag events). A trappable error will occur if you attempt to call it in any other context.

See Also

DataObject Object

 

 


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

Product Support Forum  |  Documentation Feedback