ExecutionViewMgr.ConnectThreadList

Syntax

ExecutionViewMgr.ConnectThreadList( uiObj)

Return Value

ThreadListConnection

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 the list of threads in the current execution to a control. The connected control displays the threads when the execution is paused and allows the user to specify a thread as the foreground thread.

Remarks

You can connect a ComboBox , ListBarPage , or ListBox to this connection.

To disconnect an existing connection, you must first obtain the ExecutionViewMgrConnections object from the ExecutionViewMgr.Connections property. Then, access the ExecutionViewMgrConnections.ThreadList property to obtain the ThreadListConnections collection.

Parameters

uiObj As Object

[In] Specifies a control or control element to connect to the ThreadListConnection.

See Also

ComboBox

Execution.GetThread

ExecutionViewMgr.Connections

ExecutionViewMgrConnections

ExecutionViewMgrConnections.ThreadList

ListBarPage

ListBox

ThreadListConnections