DesktopTabPanel.CaptionAt

From Xojo Documentation

Method

DesktopTabPanel.CaptionAt(Index as Integer) As String

New in 2021r3

Supported for all project types and targets.

Allows you to get or set the caption of the specified tab at runtime.

Example

This example sets the first two captions.

Me.CaptionAt(0) = "One"
Me.CaptionAt(1) = "Two"