Class VarTrace

VarSpace
ClassModule VarTrace

An event source designed to allow users to trace reads and writes on variables.

Description:
This object is designed to allow external programs to receive events whenever a variable is read from, written to, or destroyed. The following code properly dimensions a VarTrace object to receive events:

Dim WithEvents vt As VarTrace
After reserving space for the VarTrace object itself, events may be captured using the standard event capture mechanism of other Visual Basic events sources such as Textboxes, Buttons and other Controls. Note: The "WithEvents" keyword may only be used in class type VB modules including Forms, Classes and Controls.

Author:
Andrew Friedl

Copyright:
1997.03.10, BlackBox Software & Consulting


General Methods
object members
Quit Public Sub Quit()
        Causes the VarTrace object to disconnect itself from the variable being traced.

General Methods - Detail
object members

Quit

Causes the VarTrace object to disconnect itself from the variable being traced.

Description:
After a call to the Quite subroutine, no more events will be triggered for reads, writes, or deletes upon the variable being traced. An instance of VarTrace is rendered useless after to this subroutine. Note: Quite is always called prior to the destruction of a VarTrace object, and it is generally a good ides to set them to Nothing when you're done with them.

Definition:
Public Sub Quit()


Generated by BlackBox Software's DocuPro for VB6
Software and Documentation Copyright 1999,2000 BlackBox Software, All Rights Reserved