Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP crash
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00109476
Message ID:
00109484
Views:
17
>I'm building an application based on the VFP wizard. The user is presented a series of forms in logical order and he can navigate through them with the "Previous" and "Next" buttons.
>
>When the "Next" button is pressed, the current form is hidden and the second one is created DO FORM NextForm WITH THISFORM (inside the "Next" Click() event).
>
>When the "Previous" button is pressed, the current form is hidden and the previous one is activated (using the object passed in reference to this form)
>
>In the Unload() event of the base form, a CLEAR EVENTS is generated to end the application as soon as the user close a form.
>
>Problem:
>
>After a couple or runs in developpement mode, VFP will crash.
>
>Possible cause:
>
>Since I only hide the form when activating another one and I don't issue a CLEAR ALL, I suspect that some form or objects are not released from memory after the program end.
>
>I'm looking for suggestions on how I should address this problem.
>
>BTW, the reason I do not issue a CLEAR ALL is that this command has the bad habit of closing my project manager (I'm lazy and don't want to reopen the project manager manually after each run)
>
>TIA

too lazy for [Alt + F] 1? wow...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform