Caption connections display text that describes the status of the application. For example, you can use the Application Manager control to connect a caption to a Label control so that the Label control displays the name of the currently logged-in user.

The CaptionSources enumeration defines the set of captions to which you can connect. Some captions apply to the selected item in the manager control with which you connect them. For example, the UUTSerialNumber caption displays the serial number of the current UUT for the execution an ExecutionView Manager control selects. Other captions, such as UserName, function the same regardless of which manager control you use to connect them.

Call the following methods to connect a caption to a Label control, an ExpressionEdit control, or a StatusBar pane:

  • ApplicationMgr.ConnectCaption
  • SequenceFileViewMgr.ConnectCaption
  • ExecutionViewMgr.ConnectCaption

Call the following methods to obtain the text of a caption without connecting the caption to a control:

  • ApplicationMgr.GetCaptionText
  • SequenceFileViewMgr.GetCaptionText
  • ExecutionViewMgr.GetCaptionText