Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basic Application object ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00153226
Message ID:
00153231
Vues:
23
>I've read several threads referring to application objects and being somewhat new to oop and the correct way of handling forms,objects etc, I would like to know what how this technique is being used to manage applications. I have a vfp5.0 app built that is a 2.6 convert and I'm finding I'm slowly losing control of managing things. I'm currently cleaning up this application, and as soon as I gain control and understand the most efficient way of handling the management of things such as forms and classes, I will be upgrading this app to 6.0. Can anyone shed some light on the use of the application object for application management and maybe share "basically" how it might be implemented?
>
>Thanks!
>
>john.

Typically the application object is created in main and then the show method is issued. Show normally contains the read events command. You can create any number of methods in the app object to handle any task you may have. The when the app object is released, clear events is issued and control is passed back to main. You can see a good example of this by creating a test project with the application wizard and choose complete application when asked, or you can look at the TasTrade sample application in Visual 5.0.

Eric K.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform