ComponentOne True DBGrid Pro 8
ColumnIndex Property

ColumnIndex Property

This property returns the index of a column in a RowBuffer object passed to an unbound event procedure for a TDBGrid control.

Syntax

rowbuffer.ColumnIndex (Row, Col)

Remarks

Read-only at run time. Not available at design time.

The index corresponds to the ColIndex property of the grid column.

The Col argument is an integer specifying the desired column. The range of this argument can be from 0 to ColumnCount - 1.

The Row argument is an integer specifying the desired row. The range of this argument can be from 0 to RowCount - 1.

The ColumnIndex property allows you to determine the column index associated with a RowBuffer column. It is provided for identification of the column in order for the user to fill in the Value property array with appropriate column data.

See Also

RowBuffer Object

 

 


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

Product Support Forum  |  Documentation Feedback