2.2.6.17.132 GridControl::SetupRowsCols


Description

Sets the number of rows, columns, fixed rows and fixed columns.

Syntax

bool SetupRowsCols( int nFixedRows = 1, int nFixedCols = 0, int nRows = -1, int nCols = 1 )

Parameters

nFixedRows
[input] the number of fixed rows
nFixedCols
[input] the number of fixed columns
nRows
[input] the number of rows
nCols
[input] the number of columns

Return

false if one of nFixedRows, nFixedCols or nCols is less than 0, otherwise true

Examples

see examples of GridControl

Remark

See Also

GridControl::SetCols
GridControl::SetRows

Header to Included

GridControl.h