CGridCtrl:SelectSheet, CGridView:SelectSheet
The SelectSheet method selects the grid sheet to be top-most in the CGridCtrl. This method requires the grid to have more than 1 sheet.
CGridCtrl: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 |
|
-- create a CGridCtrl for the window |
|
-- the grid must have at least 2 sheets |
|
-- select sheet 2 |
|
|
Mira Pro x64 Script User's Guide, v.8.77 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.