MLGrid_InsertCols

<< Click to Display Table of Contents >>

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

MLGrid_InsertCols

 

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