Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2022.2 Object Library
PCDLRN ActiveX DLL > ApplicationObjectEvents Object : OnObjectAboutToExecute Event
An expression that evaluates to a PartProgram object to determine the measurement routine for which this event should wait.
An expression that evaluates to a Command object to determine the command about to be executed.
OnObjectAboutToExecute Event
Description

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 measurement routine 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