Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about application object.
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00357821
Message ID:
00357829
Views:
14
>I'm just starting to figure out the application object. One thing seems odd though.
>
>Why do you "release" the object as soon as it's created and the form is running?
>I'm following an example made by a built in wizard.
>
>public oApp
>oApp = CREATEOBJECT("testapp")
>oApp.Showform && this method has "READ EVENTS"
>release oApp

If method ShowForm has a READ EVENTS in it, processing stops at the READ EVENTS. You never actually get to the "release oApp" until a CLEAR EVENTS is executed, either from a menu, or a button, or in the closing down of the form.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform