PC-Dmis 2010 MR1 Object Library | Send comments on this topic. | See Object Hierarchy Chart
OnObjectAboutToExecute Event
See Also

Collapse All Expand All

PartProg
  An expression that evaluates to a PartProgram object to determine the part program for which this event should wait.

Cmmd
  An expression that evaluates to a Command object to determine the command about to be executed.

# Description

Event fired before command is executed

This event gets launched immediately before the specified command (Cmmd) gets executed.

# Syntax

Visual Basic

    Public Event OnObjectAboutToExecute( _
       ByVal PartProg As PartProgram, _
       ByVal Cmmd As Command _
    )

# Parameters

PartProg
  An expression that evaluates to a PartProgram object to determine the part program for which this event should wait.
Cmmd
  An expression that evaluates to a Command object to determine the command about to be executed.

# See Also

ApplicationObjectEvents Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.