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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Class_Terminate, running when object not destroyed?

Status
Not open for further replies.

1DMF

Programmer
Jan 18, 2005
8,795
GB
It's ok I was being a dumb ass!

The sub where the object is being created is a click event, so that's the scope of the variable! When the click event finished , it auto cleared the variables that go out of scope, ergo was terminating my object causing the event to run!

Why is it always the little things that trip you up!

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"

Free Dance Music Downloads
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top