Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetCellText - method of object PmTable

Description:
Returns text of the cell.
Syntax:
GetCellText(Row As Long, Col As Long) As String
Calling:
sText = oTable.GetCellText(row,col)
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.
Col(Long) If the value is >=0 then it is a index of the column (zero-based index). Value -2 means the last column.
Note:

The method can also be called in the graphic item events for Web Panels.

Example:
Copy the text in the cell on the 2nd row and 8th column to the cell that is one row below.
Dim oTable, sCell
Set oTable = pMe.Items("/Ax0").Acx
sCell = oTable.GetCellText(1,7)
oTable.SetCellText 2,7,sCell
oTable.Draw
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice