Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Big 'O'
Message
De
09/07/1998 05:18:01
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00115108
Message ID:
00115612
Vues:
16
>I still have UDFs in my apps I don't believe in making something a method just so I can o.DoSomething(). I do not have a SET PROCEDURE file though that holds a whole boatload of functions either. Each one is it's own seperate .prg I have about a dozen of them.

I just grouped all the unrelated stuff into a custom object I call oUtilities
which is added at run time to the Application object
thus I have calls like loApp.oUtil.BreakList() etc.

the main reason I do this is for consistency with the rest of the app

btw, you can also store general methods in the DBC as long as a DBC is active you can direclt call any methods in it

Arnon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform