Table of Contents

TTMSFNCDataGrid.RowMax Method

Returns the maximum numeric value across the data columns of a row.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

function RowMax(ARow: Integer; AFromColumn: Integer = -1; AToColumn: Integer = -1): Double;

Parameters

Name Description
ARow Zero-based row index.
AFromColumn First column to include, or -1 for the first data column.
AToColumn Last column to include, or -1 for the last data column.

Returns

Maximum value as a Double.