PagePanel.Change
From Xojo Documentation
Event
The frontmost page has changed and can be determined using the PagePanel.SelectedPanelIndex property.
Notes
This is also called when the user changes the selected tab in a TabPanel
The frontmost page has changed and can be determined using the PagePanel.SelectedPanelIndex property.
This is also called when the user changes the selected tab in a TabPanel