DisplayPreconditionDialog Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Engine.DisplayPreconditionDialog ( dlgTitle, sequence, readOnly, modalToAppMainWind, [initialStep])

Return Value

Boolean

Returns True if you make modifications and click OK in the dialog box. Returns False if you click Cancel or make no modifications.

Purpose

Launches a dialog box in which you can edit the preconditions for a step or for all steps in a sequence.

Parameters

dlgTitle As String

[In] Specifies the title of the dialog box. Pass an empty string to use the default title for the dialog box.

sequence As Sequence

[In] Specifies the sequence in which to edit preconditions.

readOnly As Boolean

[In] Pass True if you want a read-only version of the dialog box.

modalToAppMainWind As Boolean

[In] By default, the dialog box is modal to the last active window of the calling thread, or if there is none, to the last active window from AppMainHwnd. If you set this option, the dialog box is modal with respect to the window handle of the Engine.AppMainHwnd property. Typically, you do not need to set this option.

initialStep As Variant

[In] [Optional] Specifies a Step object if you want the dialog box to display only the preconditions for a particular step.


See Also

Engine.AppMainHwnd

Engine.DisplayStepPropDialog

Omitting Optional Parameters

Sequence

Step

WAS THIS ARTICLE HELPFUL?

Not Helpful