CGridView:GetNum
The GetNum method returns grid cell contents as a number.
nValue = CGridView:GetNum( nCol, nRow )
Where nCol,
and nRow are the coordinates of the
cell to get.
On
success, the numeric value in the specific grid cell is returned as
nValue.
On
failure, nil is
returned.
The following script returns the cell contents in (column 5, row 10):
|
-- attach a grid on the Mira desktop |
|
-- return the numeric value in cell (5,10) |
|
-- list the numeric value. |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.