Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removeobject() does not always work
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00197418
Message ID:
00197490
Vues:
17
>Hello,
>
>There is a removeobject() and addobject() functions in one of page activate event, which I call from 2 different places. Everthing works well when I call the event from command button in the form but when I call the same page activate even from one of the option in the main menu the object will still exist after the removeobject(). Can anyone help with that??
>thank you
>sherry

what syntax are you using to call the activate event? Are you sure the code is running? IOW, can you put some test code in there to assure you that the REMOVEOBJECT is really happening?

If it is and the object is not being removed, open the debugger, put a watch on THISFORM, and drill down to see if the object still exists.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform