ColumnIndex Property
Returns the column index of a column.
rowbuffer.ColumnIndex (Row, Col)
Read-only at run time. Not available at design time.
Property applies to RowBuffer object.
This property returns the index of a column in a RowBuffer object passed to an unbound event procedure for a TDBList control. The index corresponds to the ColIndex property of the control 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