From Xojo Documentation

Revision as of 14:07, 12 November 2019 by PLefebvre (talk | contribs) (Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Integer )
aPagePanel.SelectedPanelIndex = newIntegerValue
IntegerValue = aPagePanel.SelectedPanelIndex

New in 2019r2

Supported for all project types and targets.

The number of the currently selected panel. The first panel is number zero.


To change the panel that is displayed, set this value. Modifying this value calls the Change event.

This is also how you change the displayed panel for the TabPanel control, which is subclassed from PagePanel.


This example uses a PopupMenu in a PagePanel to navigate to another panel. The example uses the selected item on the PopupMenu as the panel in the PagePanel to display.

PagePanel1.SelectedPanelIndex = PopupMenu1.SelectedRowIndex