CGridView:SelectSheet
The SelectSheet method selects the grid sheet to be top-most in the CGridView window. This method requires the grid to have more than 1 sheet.
CGridView:SelectSheet(nTabIndex)
where nTabIndex is the index of the sheet, between 1 and the number of sheets.
The following script selects tab number 2 to be shown top-most in the grid:
|
-- attach a grid on the Mira desktop |
|
-- the grid must have at least 2 sheets |
|
-- select sheet 2 |
|
|
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.