Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing form, VFP6
Message
 
 
To
27/05/1999 18:34:08
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00223748
Message ID:
00231904
Views:
22
This is generally a sign that another object hasn't been released, thus preventing the form from being released. Check for other object references lingering around.

>I just starting working with vfp6 coming from vfp3 and this never happened to me before. When i have a form i need to release from a menu, i make sure the object is there and if so i issue objectname.release() command. The form is gone and every thing is okay. My problem is when i release a form containing a grid that has focus, the form is released but the image remains on the screen. Actually, a new object remains with a different name. In the command window I have gotten the remaining object's name using the _screen.activeform command and issued the newobjectname.release() command again. This still does not work. With the new objectname i can do anything i want to the object and its controls but, release it. As long as any control has focus that is not a grid, there are no problems in releasing forms. I am lost and need a some advise.
>
>My code in the menu procedure looks something like this:
>if type('objectname')='O' and !isnull(objectname)
> objectname.release()
>endif
>
>Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform