From Xojo Documentation
| This item has been deprecated since version 2019r2 and should no longer be used.
Please use PagePanel.SelectedPanelIndex as a replacement.
The number of the currently selected panel (page/tab). The first panel is number zero.
To change the panel (page/tab) that is displayed, set this value. This is also how you change the displayed panel for the TabPanel control, which is subclassed from PagePanel. Altering this value calls the PagePanel.Change event.