Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP60- Classes and Unload Event
Message
 
À
05/09/2000 09:13:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00412427
Message ID:
00412433
Vues:
13
>I have a form.
>I have a class on the form.
>In the UNLOAD event of the form I call a method from the class.
>I get an error message, "Class myclass doesn't exist"
>
>Is this the normal behaviour? Looks like it has been already released by the time I try to call one of the methods from it. All I have in that method is: DO main1menu.mpr CLEAR EVENTS THISFORM.Release()
>
>Thank you

By the time Unload fires, any contained objects have already been destroyed. That would cause the above to occur.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform