Table of Contents

TTMSFNCDataGridRenderer.ColumnIndexByName Method

Returns the zero-based index of the column whose Name matches AName, or -1.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

function ColumnIndexByName(AName: string): Integer;

Parameters

Name Description
AName Column name to match.

Returns

The zero-based column index, or -1 when no column has the specified name.