Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form won't close after RELEASE
Message
From
27/05/1999 20:30:27
 
 
To
26/05/1999 19:19:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00223228
Message ID:
00223779
Views:
21
>>I have created a blank form to which I have added a grid from the one-to-many wizard as well as a bunch of other controls. When I placed a command button on the form and put THISFORM.RELEASE into the click method and set the TERMINATE READ to .T., I expected the form to close. The form deactivates and the command window comes up, but the form is still on the screen. The debugger shows the form as an object with a .NULL. value. Does anyone have an idea what I could have done wrong? Thanks in advance...
>
>TerminateRead is a Fox 2.x feature. However, if the form can't close you probably hav a reference to an instanciated object.
>
>Regards


You are right. I checked and found that I had inadvertently set up a form parameter which acted as a pointer to the form object. Once I nulled it out, the form shut correctly!

Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform