Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic Questions
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00054586
Message ID:
00055646
Views:
37
>I found a Performance Culprit - by process of elimination!
>Performance Issue Solved -
>I re-made the form with all Objects (control-linked).
>Testing seemed good.
>Added Code - testing seems good.
>Now Changing the Forms Properties -
>found that Modal is slightly slower that Modeless.
>(I’ll go modeless - need a Menu anyway).
>When I added the PICTURE that’s when I lost Speed.
>(I’ll do without the Picture!!!)
>Are there other Caveat’s I should be aware of?
>
>Next Question: Now by making the form modeless,
>when I exit that form -
>the app terminates
>
>Process is as follows -
>Startup Code
>* Do Form Main, read event && FOUNDATION
>** Button on Main = Do Form ParChild, read event
>** Exit Button on Form ParChild = thisform.release, Clear Events
>* Clear Event && FOUNDATION
>Cleanup Code
>The foundation read for the main form is Cleared w/o permission.
>
>Thanx - Ed B

Ed, glad you've found the problem. Where did you have that snail-like picture? I'd be interested to know.

As for your latest problem, Clear Events should be in exactly one place: When you are closing your App in your ON SHUTDOWN code or in your original MAIN.PRG AFTER everything else is done.

If you need an example, let me know.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform