DesktopTabPanel.CaptionAt

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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"