ExecutionViewMgr.ConnectNumeric

Syntax

ExecutionViewMgr.ConnectNumeric( uiObj, numericSource)

Return Value

NumericConnection

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 a numeric source in an ExecutionView Manager control to an element of a visible control. The connection automatically updates the visible control with the numeric information that describes an aspect of the current application state.

Remarks

Use this method to display an execution progress bar in a StatusBar pane.

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

Parameters

uiObj As Object

[In] Specifies the element of a visible control to which the caption source connects. Pass a StatusBarPane .

numericSource As NumericSources

[In] Specifies the type of numeric source from which to obtain a numeric value.

See Also

ExecutionViewMgr.Connections

ExecutionViewMgr.GetNumericValue

ExecutionViewMgrConnections

ExecutionViewMgrConnections.Numeric

NumericConnections

StatusBarPane