From Xojo Documentation
| This item was deprecated in version 2019r2.
Please use PagePanel.AddPanel as a replacement.
Appends a new page after the last page.
This example appends a new page. For example, you can create new pages in the Open event of the window, but you will want to add controls to the new page in the Window Editor.