CGrid:Set
The Set method assigns a value to a grid cell.
CGrid:Set( nCol, nRow, Value )
nCol, and nRow are the coordinates of the cell to set.
Value is the string or numeric value to assign to the cell.
The following script sets the cell contents of (column 5, row 10) to "My value" and (column 4, row 10) to 15.5:
|
-- create a CGrid object |
-- assemble the grid |
|
|
-- set the string value in cell (5,10) |
|
-- set the numeric value in cell (4,10) |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.