Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application object
Message
 
À
03/12/1998 13:57:30
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00163769
Message ID:
00163821
Vues:
18
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform