Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't release forms
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00015843
Message ID:
00016009
Views:
43
>>>>I used Form designer to creates some forms.Then, I put the forms
>>>>together,that is,I click a button to call the other forms.However, I can't
>>>>release the activated forms. If I set the show method=modal, the forms
>>>>can't release.
>>>in your main prog, add 'read events'. this will solve the problem w/ the
>>>modeless form disappearing immediately. i'm not sure why the modal
>>>forms don't release...
>>Also, if your creating objects or named forms then make sure you declare
>>those memory variables as public first.
>
>Do you have a object reference in your form? I was going crazy with a board game I wrote in VFP, until I realized that the reason it wouldn't release was that I had an array of oSquares, that needed to be released before the form would allow itself to be released.


Garrett

That is what I like about VFP, you can write a class & then forget it! And let me tell you I usually do!!! (s)

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform