MLGrid_Redim

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > MLGrid Control > MLGrid Control Commands >

MLGrid_Redim

 

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