PagePanel.AddPanelAt

From Xojo Documentation

Method

PagePanel.AddPanelAt(Index as Integer)

New in 2019r2

Supported for all project types and targets.

Adds a new panel at the specified position. The first panel is numbered zero.

Example

The following code adds a panel at position 1.

PagePanel1.AddPanelAt(1)