Allows you to get or set the caption of the specified tab at runtime.
This example sets the first two captions.