ClearTrap Method

Applies to:  Subclasser object, PowerForm control
See also:  SetTrap event, TrapMessage event, Method and Function Index

Clears a message trap that was set by a previous call to SetTrap.

Syntax:

object.ClearTrap(Message As Long)

The ClearTrap method syntax has these parts:

Part Description
object The name of an object in the Applies to list.
Message Message identifier of the message trap to be cleared. 

 

Home

Copyright and Disclaimer