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

MLGrid_InsertCols

Previous pageReturn to chapter overviewNext page

 

Description

 

Add columns in a MLGrid

 

Syntax

 

n = MLGrid_InsertCols(hGrid, nColumns, ColRef, Position)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hGrid

Number

No

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

nColumns

Number

No

Number of columns to add

ColRef

Number

No

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

Position

Number

No

To add columns before ColRef, set to %TRUE

To add columns after ColRef, set to %FALSE

 

Remarks

 

Restrictions

 

See also

 

Examples