Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing objects added to the screen
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01534450
Message ID:
01534464
Views:
86
Likes (1)
>>I have created an object that I place on the screen... ie I use _screen.addobject
>>How do I get the object to release. I know clear all works, but that is kind of drastic, don't you think?
>>
>Setting the object to null will release it

You can't set a control hosted on a form (in this case _screen) to .null., you must use the .RemoveObject() method.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform