Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FUNCTION...ENDFUNC in a class.
Message
De
11/04/1998 22:00:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00090807
Message ID:
00091364
Vues:
24
>I am trying to create a class, based on Custom, to contain functions that may be called by many objects in one place. Is Custom the right class to base my class from? Where in the custom class would I code these functions? The end result I'm after is to create a global object reference (omycustomclass=CREATEOBJECT('mycustomclass') that contains all the common functions to be called from throughout my app. TIA


What is the CW (conventional wisdom) on going this route vs. using a procedure library which is include in the project? I'm just getting into OO and I've got some of both approaches at this point.

My thinking has been that isolated functions that don't refer to other globals, properties, etc. might as well go into a procedure library.

Peter Robinson
Peter Robinson ** Rodes Design ** Virginia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform