VarSpace
|
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:
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.Dim WithEvents vt As VarTrace
Author:
Andrew FriedlCopyright:
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 |
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()