ExpressionEdit.Engine

Syntax

ExpressionEdit.Engine

Data Type

Engine

Purpose

Specifies a reference to the Engine object. The ExpressionEdit control uses the Engine object for the following purposes:

  • Displaying the Expression Browser dialog box.
  • Displaying the Expression Editing Options dialog box, which you can access through the Options item in the context menu of the ExpressionEdit control.
  • Reading options configured in the Expression Editing Options dialog box.

Remarks

You do not need to set this property because the ExpressionEdit control automatically obtains a reference to an Engine object when a reference is needed. However, because the ExpressionEdit control creates an Engine object when it cannot obtain one from the ExpressionEdit.Context property, it is useful to set this property when the ExpressionEdit.Context property has not been set to a PropertyObject that is also a SequenceContext and when an Engine object has already been created in a different process than the ExpressionEdit control. The TestStand Engine is considered needed when the ExpressionEdit.Context property is set or when this property is read, even when the property is read internally to launch an engine dialog box.

See Also

Engine

Expression Browser dialog box

Expression Editing Options dialog box

ExpressionEdit.Context