Promotic
WikipediaLinkedInYoutubeTwitterFacebook

CellText - property of object PmTable

Description:
Text value of cell.

This property is obsolete (but functional) and is replaced by methods SetCellText and GetCellText.

Syntax:
CellText(Row As Long, Col As Long) As String
Calling:
oTable.CellText(row, col) = x
Parameters:
Row(Long) If the value is greater or equal 0 then it is a index of the row (zero-based index, counted including the fixed part).
Value -2 means the last row.
Value -3 sets the value to all rows (counted including the fixed part).
Col(Long) If the value is greater or equal 0 then it is a index of the column (zero-based index, counted including the fixed part).
Value -2 means the last column.
Value -3 sets the value to all columns (counted including the fixed part).
Note:
Property access for read and write.

This property is not functional for Web panels in JavaScript language.

Example:
Setting the text of cells in the 8th column (counted including the fixed part)
VBScriptSelect and copy to clipboard

Dim oTable
Set oTable = pMe.Items("/Ax0").Acx
oTable.CellText(-3, 7) = "Starting"
oTable.Draw
PROMOTIC 8.3.22 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