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.