ComponentOne True DBGrid Pro 8
Item Method

 

Item Method

Use the Item method to access a specific member of a True DBGrid collection.

Syntax

object.Item (index)

Method applies to Columns, Errors, GroupColumns, Layouts, PrintInfos, SelBookmarks, Splits, Styles, and ValueItems collections.

Arguments

index is an expression that specifies the collection member to be accessed.

Return Value

A reference to the specified object.

Remarks

All collections accept a zero-based index argument. The Columns, GroupColumns, Layouts, PrintInfos, and Styles collections also accept named arguments.

Note

The Item method is not required. The following expressions are equivalent:

TDBGrid1.Columns(0)

TDBGrid1.Columns.Item(0)

See Also

Column Object, Columns Collection

Error Object, Errors Collection

Split Object, Splits Collection

Style Object, Styles Collection

GroupColumns Collection

PrintInfo Object, PrintInfos Collection

Layouts Collection

SelBookmarks Collection

ValueItem Object, ValueItems Collection

 

 


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

Product Support Forum  |  Documentation Feedback