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 >=0 then it is a index of the row (zero-based index).
Value -2 means the last row.
Value -3 sets the value to all rows.
Col(Long) If the value is >=0 then it is a index of the column (zero-based index).
Value -2 means the last column.
Value -3 sets the value to all columns.
Note:
Property access for read and write.

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

Example:
Sets the text of cells in the eight column (counted including the fixed part).
Dim oTable
Set oTable = pMe.Items("/Ax0").Acx
oTable.CellText(-3,7) = "Starting"
oTable.Draw
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice