Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procs in Application Object
Message
 
To
29/05/2001 10:06:16
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00512188
Message ID:
00512497
Views:
9
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
Previous
Reply
Map
View

Click here to load this message in the networking platform