Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > MLGrid Control >

MLGrid_Redim

Previous pageReturn to chapter overviewNext page

 

Description

 

Redim the number of rows and columns of a MLGrid

 

Syntax

 

n = MLGrid_Redim(hGrid, nRows, nCols, Internal_nRows, Internal_nCols )

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hGrid

Number

No

handle to grid control, the one returned by CONTROL ADD MLGRID ...

nRows

Number

No

Number of rows

nCols

Number

No

Number of columns

Internal_nRows

Number

No

Number of rows (of the internal data array). Set this value not lower than nRows

Internal_nCols

Number

No

Number of columns (of the internal data array). Set this value not lower than nCols

 

Remarks

 

This function automatically regenerate row header number.

 

Restrictions

 

See also

 

Examples