TTMSFNCDataGrid.ColumnIndexByName Method
Returns the zero-based column index by searching for a matching design-time Name; returns -1 if not found.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCDataGrid
Inherited from: TTMSFNCCustomDataGrid
Syntax
function ColumnIndexByName(AName: string): Integer;
Parameters
| Name | Description |
|---|---|
AName |
The Name property value to look up. |
Returns
Zero-based index, or -1 if not found.