Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about application object.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00357821
Message ID:
00357829
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform