CGrid:GetNumRows
The GetNumRows method returns the number of rows in the grid.
nRows = CGrid:GetNumRows()
Where nRows is the number of columns in the grid.
On failure, 0 is returned.
The following script returns the number of columns in a grid window:
|
-- create a new CGrid object |
|
-- return the number of rows |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.