pMe | (Object) Reference to the PmgObject object where the event rises. |
---|---|
pEvent | (Object) Reference to an object describing detailed information about the specific event.
The pEvent parameter is not used here because this event does not need any additional information. |
var aValues = pMe.PmPanel.Methods.InitTable();
var oTable = pMe.Items("/Table");
var nRows = aValues.GetSize(1);
var nCols = aValues.GetSize(2);
oTable.Rows = nRows;
oTable.Cols = nCols;
var iRow;
for (iRow = 0; iRow < nRows; iRow++)
{
var iCol;
for (iCol = 0; iCol < nCols; iCol++)
{
oTable.SetCellText(iRow, iCol, aValues.GetItem(iRow, iCol));
}
}