MLGrid_InsertRows

<< Click to Display Table of Contents >>

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

MLGrid_InsertRows

 

Description

 

Add rows in a MLGrid

 

Syntax

 

n = MLGrid_InsertRows(hGrid, nRows, RowRef, Position)

 

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 to add

RowRef

Number

No

Reference row. If 0 (zero) current row will be used

Position

Number

No

To add rows before RowRef, set to %TRUE

To add rows after RowRef, set to %FALSE

 

Remarks

 

Restrictions

 

See also

 

Examples