CGrid:GetNumRows CGrid:JoinCells

CGrid:GotoCell


The GotoCell method makes a specified grid cell the active cell.

Syntax

CGrid:GotoCell( nCol, nRow )

bullet.gif    Where nCol, and nRow are the coordinates of the target cell.

The picture below shows a simple grid created by a script and then filled with data. The GotoCell method was used to highlight the cell at column 5, row 3:

Example

The following script sends the grid cursor to the cell at (column 5, row 10):

G = new_grid()

-- create a new CGrid object

-- assemble the grid

 

G:GotoCell(5,3)

-- select cell (5,3)

Related Topics

CGrid class


Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.