Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if var = nothing
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00413401
Message ID:
00413580
Vues:
17
>I see one problem with it, if MarkObject is not an object of the AcadCircle, it will not be able to find the Delete method! Maybe you just forget to delete the Not?
>
>Private Sub Class_Terminate()
> ' If the MarkObject is still here delete it.
> If MarkObject Is AcadCircle Then
> MarkObject.Delete
> Set MarkObject = Nothing
> End If
>End Sub

I thought I tried it that way and got an error. I'll try it again tonight (it's on my machine at home). Thanks.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform