ComponentOne True DBGrid Pro 8
Clear Method

 

Clear Method

The Clear method removes all items from a collection.

Syntax

object.Clear

Arguments

None

Return Value

None

Remarks

For a Columns collection associated with a TDBGrid control, TDBDropDown control, or Split object, this method removes all Column objects.

For a PrintInfos collection associated with a TDBGrid control, this method removes all PrintInfo objects, then re-creates the default PrintInfo object.

For a SelBookmarks collection associated with a TDBGrid control, this method removes all bookmarks and deselects the corresponding grid rows.

For a ValueItems collection associated with a Column object, the Clear method removes all ValueItem objects.

See Also

Column Object, Columns Collection

PrintInfo Object, PrintInfos Collection

SelBookmarks Collection

ValueItem Object, ValueItems Collection

 

 


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

Product Support Forum  |  Documentation Feedback