Image Connections
- Updated2025-07-23
- 1 minute(s) read
Image connections display icons that illustrate the status of the application. For example, you can use the ExecutionView Manager control to connect an image to a Button control or a StatusBar pane so the button or pane displays an image that indicates the execution state of the selected execution.
The ImageSources enumeration defines the set of images to which you can connect. Some images apply to the selected item in the manager control with which you connect them. For example, the CurrentStepGroup enumeration constant displays an image for the currently selected step group when you connect it to a SequenceFileView Manager control and displays an image for the currently executing step group when you connect it to an ExecutionView Manager control.
Call the following methods to connect an image to a Button control or a StatusBar pane:
- SequenceFileViewMgr.ConnectImage
- ExecutionViewMgr.ConnectImage
Call the following methods to obtain an image without connecting the image to a control:
- ApplicationMgr.GetImageName
- SequenceFileViewMgr.GetImageName
- ExecutionViewMgr.GetImageName
To obtain an image from an image name, you must use properties from the TestStand API, such as the Engine.SmallImageListEx property, the Engine.LargeImageListEx property, and the Engine.Images property.