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:
00197469
Views:
16
Sherry,
I haven't tried this out, so it's just a guess -- Have you done a page refresh() after the RemoveObject() call? The object may be removed, but still visible on the screen.

Page Activate() doesn't include a refresh() call. You have to add it to every page either on your form or in your base class

HTH
Barbara

>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
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform