Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application object
Message
 
To
03/12/1998 13:57:30
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00163769
Message ID:
00163821
Views:
23
>I just wanted to ask this:
>
>Am I the only one, or do other notice that the application object becomes a monster code repository. Every function that does not really relate to some other object, gets popped into the oApp. Wrappers for more complex methods of sub-objects, application-wide procedures and values etc.
>
>It seems I have over 20 custom methods on my oApp.
>
>Am I doing it wrong?
>
>Tim


Tim,
Remember procedure files? My personal opinion is that they are still the best way to handle all those general procedures and functions. Yes, they are now called methods and whatnot but I still start my system with a MAIN.PRG and SET PROCEDURE TO XXPROX.PRG. It works every time and I can keep the main.prg and xxproc.prg up in Brief (the programmers editor) in another window in Win 95. The only good use for oApp is to store the global vars your program needs.

Just my personal opinion.

John.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform