Promotic
WikipediaLinkedInYoutubeTwitterFacebook

InsertCol - method of the PmfTable object

Description:
Inserting one or more new columns.
Syntax:
Empty InsertCol(Long nColArea, Long iCol, [Long nCount])
Calling:
object.InsertCol(nColArea, iCol[, nCount])
Parameters:
nColArea(Long) Detecting the area of the table (see Areas in the table).

At this moment only the value 1 can be entered = table data area (Main). It means adding in the left part (Left) is not possible (it can only be set during the initialization phase by the InitCols method).

iCol(Long) Column index (zero-based index).

-1 = insert to the end.

nCount[optional] (Long) Number of columns (default: 1).
Note:
This method is also functional in Web panels.
See also:

History:
Pm9.00.04: Created
PROMOTIC 9.0.12 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice