DesktopPagePanel.RemovePanelAt

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

DesktopPagePanel.RemovePanelAt(Index as Integer)

New in 2021r3

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)