Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removeobject() does not always work
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00197418
Message ID:
00197490
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform