From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

DesktopTabPanel.AddPanelAt(index as Integer, name As String)

New in 2021r3

Supported for all project types and targets.

Adds a new panel at the specified position using the name as the tab caption. The first panel is numbered zero.


The following code adds a panel as the first tab:

TabPanel1.AddPanelAt(0, "First")