PagePanel.RemovePanelAt

From Xojo Documentation

Method

PagePanel.RemovePanelAt(Index as Integer)

New in 2019r2

Supported for all project types and targets.

Removes the page at the Index passed. The first panel is numbered zero.

Notes

It will also remove all of the controls on the panel.

Example

This example removes the first panel.

PagePanel1.RemovePanelAt(0)