From Xojo Documentation
| This item has been deprecated since version 2019r2 and should no longer be used.
Please use PagePanel.RemovePanelAt as a replacement.
Removes the page specified by Index. The first page is numbered zero.
It will also remove all of the controls on the page.
This example removes page 1.