TabPanel.Caption

From Xojo Documentation

Method

TabPanel.Caption(Index as Integer) As String

Supported for all project types and targets.

Allows you to get or set the caption of the specified tab at runtime. The first tab is numbered zero.

Example

This example sets the first two captions.

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