PagePanel.Insert

From Xojo Documentation

Method

PagePanel.Insert(Index as Integer)

New in 2005r1

Supported for all project types and targets.

Inserts a new page at the specified position. The first page is numbered zero.

Example

The following code adds a page at position 1.

PagePanel1.Insert(1)