General information
Category:
Forms & Form designer
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only