CGrid:SetNum
The SetNum method assigns a numeric value to a grid cell.
CGrid:SetNum( nCol, nRow, nValue )
Where nCol, and nRow are the coordinates of the cell to set.
Where nValue is the numeric value to assign to the specified cell.
The following script sets the cell contents of column 5, row 10 to the value -27.52:
|
-- create a CGrid object |
|
-- set the numeric value in cell (5,10) |
CGrid class, GetNum, SetStr, SetVal
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2022 Mirametrics,
Inc. All Rights Reserved.