ExecutionViewMgr.ConnectImage
- Updated2025-07-21
- 1 minute(s) read
ExecutionViewMgr.ConnectImage
Syntax
ExecutionViewMgr.ConnectImage( uiObj, imageSource)
Return Value
A reference to an object that represents the new connection. Discarding the reference does not affect the connection. When the object is already connected to this type of connection, the existing connection is returned.
Purpose
Connects an image source in an ExecutionView Manager control to a visible control or an element of a visible control. The connection automatically updates the visible control with an icon that describes an aspect of the current application state.
Remarks
To disconnect an existing connection, you must first obtain the ExecutionViewMgrConnections object from the ExecutionViewMgr.Connections property. Then, access the ExecutionViewMgrConnections.Image property to obtain the ImageConnections collection.
Parameters
uiObj As Object
[In] Specifies a visible control or element of a visible control to which the caption source connects. Pass a StatusBarPane or Button .
imageSource As ImageSources
[In] Specifies the type of image source to connect.
See Also
ExecutionViewMgrConnections.Image