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

MLGrid_InsertRows

Previous pageReturn to chapter overviewNext page

 

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