Block Structure Dialog Box

To launch the Block Structure dialog box, launch the Step Type Properties dialog box, click the Advanced button on the General tab, and then select Block Structure .

The Block Structure dialog box contains the following options:

  • Step Affects Sequence Block Structure —Set this property to indicate that the instances of this step type affect the block structure in a sequence. Typically, applications visually indicate the steps that apply to a block structure, such as displaying the step name in bold font.
  • Block Start Step Types —A comma-delimited list of step type names. A non-empty list indicates a step of this type must end a block. A step of this type can end a block a step of any type in the list starts. For example, the Block Start step types for the NI_Flow_Else step type are NI_Flow_If, and NI_Flow_ElseIf.
  • Block End Step Types —A comma-delimited list of step type names. A non-empty list indicates a step of this type starts a block. A step of a type in the list must end the block. For example, the Block End step types for an NI_Flow_If step type are NI_Flow_Else, NI_Flow_ElseIf, and NI_Flow_End.
  • Can Surround a Selection of Steps —Specifies that the step type appears in the Surround Selection With context menu so that you can surround a block of contiguous steps with a set of corresponding begin and end steps of this type. Use an OnNewStep substep for the custom step to check the Boolean value of the SequenceContext.RunState.ShouldEncapsulate property to determine where to insert a corresponding end step for the custom step.

See Also

Adding Step Types to Surround Selection With Context Menu

Step Type Properties dialog box