From Xojo Documentation
| This item has been deprecated since version 2019r2 and should no longer be used.
Please use TabPanel.CaptionAt as a replacement.
Allows you to get or set the caption of the specified tab at runtime. The first tab is numbered zero.
This example sets the first two captions.