Programming with Reflection
CheckEventNumber method
Syntax Result = object.CheckEventNumber(EventNumber)
Checks for the occurrence of the specified event, defined with the DefineEvent method.
EventNumber Argument type: Integer
The event for which to check. The event number is assigned by the Event argument of DefineEvent.
Result Return type: Integer
Returns True if the event has occurred and False if it has not.