From Xojo Documentation
| This item has been deprecated since version 2019r2 and should no longer be used.
Please use PagePanel.AddPanelAt as a replacement.
Inserts a new page at the specified position. The first page is numbered zero.
The following code adds a page at position 1.