DesktopTabPanel.AddPanelAt

From Xojo Documentation

Revision as of 20:22, 23 July 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

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.

Example

The following code adds a panel as the first tab:

TabPanel1.AddPanelAt(0, "First")