Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procs in Application Object
Message
 
À
29/05/2001 10:06:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00512188
Message ID:
00512497
Vues:
10
Kevin,

>Is it a good idea to have all of your apps methods in the Application Object, or doesn't it really matter?>

If a method is truly specific to an application, it's fine to add it to the application object. However, if you have a number of related methods, rather than cluttering the application object interface, it's best to segregate them into their own class which you can attach to the application object (i.e. database management, form and toolbar management, error handling, etc.). If it falls more in the category of an extension to the Visual FoxPro language (something that can be used in all your applications), you can create a simple function or procedure.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform