PC-Dmis 2010 Object Library | Send comments on this topic. | See Object Hierarchy Chart
SetExecutionBlock Method
See Also

Collapse All Expand All

StartCommand
  This is the first command to execute (as a Command object) in the command block.

EndCommand
  This is the last command to execute (as a Command object) in the command block.

# Description

Sets the start and end commands for block execution, calls to Execute or AsyncExecute will used until cleared This method defines a block of commands to execute. Calls are made to the Execute or AsyncExecute functions until the execution block is cleared with the ClearExecutionBlock method.

# Syntax

Visual Basic

    Public Function SetExecutionBlock( _
       ByVal StartCommand As Command, _
       ByVal EndCommand As Command _
    ) As Boolean

# Parameters

StartCommand
  This is the first command to execute (as a Command object) in the command block.
EndCommand
  This is the last command to execute (as a Command object) in the command block.

# Return Type

Boolean value. This method returns TRUE if the block of commands successfully executes; FALSE otherwise.

# See Also

PartProgram Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.