GRID.InsertColumn

Previous  Next

 

state = GRID.InsertColumn( BYVAL nControl AS INTEGER,

                           BYVAL header   AS STRING,

                           BYVAL format   AS INTEGER,

                           BYVAL col      AS INTEGER ) AS INTEGER

 

 

 

 

Inserts a column at the position given by nCol, or at the end of all columns if nCol is < 0. strHeading is the column heading and nFormat the format. Returns the position of the inserted column.

 

Example:

 

GRID.InsertColumn( nControl, “Header”, 0, 1 )