Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Event handler on object.

Status
Not open for further replies.

Disferente

Programmer
Jun 23, 2008
112
US
In a variable
Dim obj as object=Nothing
is it possible to attach an event handler so I can be notified when the variable is assigned something, the only thing I can think of to do it is to make a timer that checks if "obj is nothing" a couple of times a second and I would really like to avoid that.
 
No. An object is nothing or everything so it has no events of its own. You could make your own event and Raise Event any time you set the object.

-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top