PagePanel.RemovePanelAt

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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)