SequenceFileViewMgr.ConnectImage

Syntax

SequenceFileViewMgr.ConnectImage( uiObj, imageSource)

Return Value

ImageConnection

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 a SequenceFileView 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 SequenceFileViewMgrConnections object from the SequenceFileViewMgr.Connections property. Then, access the SequenceFileViewMgrConnections.Image property to obtain the ImageConnections collection.

Parameters

uiObj As Object

[In] Specifies the 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

Button

ExecutionViewMgr.ConnectImage

ImageConnections

SequenceFileViewMgr.Connections

SequenceFileViewMgr.GetImageName

SequenceFileViewMgrConnections

SequenceFileViewMgrConnections.Image

StatusBarPane