Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.release
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00040029
Message ID:
00040333
Views:
36
>If you are holding object references like this you are responsibile for cleaning them up. One way to do this is to recurse through all of the controls in the form iside the form's release and call a cleanup method (that you created for teh contrl) that will .NULL. any object reference properties before the normal action of the form's release tries to blow the controls away.

Jim, do you have any ideas about what to do when the form blows up and has to be cancelled. THe usual cleanup code doesn't run, and I haven't figured out how to get that reference out of memory. This has been an ongoing problem during development, and even when I KNOW the object reference, I can't set it to .NULL. from the command line.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform