Caption Property (Tab Object)

           

Returns or sets the caption that appears on the tab or button of a Tab object in a TabStrip control.

Syntax

object.Caption [= string]

The Caption property syntax has these parts:

Part Description
object An object expression that evaluates to a Tab object.
string A string expression that evaluates to the text displayed as the caption.

Remarks

You can set the Caption property for a Tab object in the TabStrip control at design time or at run time.