sanjughelani
Newcomer
- Joined
- Sep 4, 2003
- Messages
- 1
How to set nothing, any of the class from Form. Im using the class object multiple times with different instances.
eg;
Sub txtName_Enter()
if not clsNew is Nothing then clsNew = Nothing
clsNew = New MyClass
clsNew.Start
End Sub
Sub txtCustomer_Enter()
if not clsNew is Nothing then clsNew = Nothing
clsNew = New MyClass
clsNew.Start
End Sub
eg;
Sub txtName_Enter()
if not clsNew is Nothing then clsNew = Nothing
clsNew = New MyClass
clsNew.Start
End Sub
Sub txtCustomer_Enter()
if not clsNew is Nothing then clsNew = Nothing
clsNew = New MyClass
clsNew.Start
End Sub