Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FUNCTION...ENDFUNC in a class.
Message
 
À
09/04/1998 11:55:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00090807
Message ID:
00090850
Vues:
23
>>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
>
>Custom is OK. If you use class designer then just add custom properties/events there. If you want to do it programmatically, then DEFINE CLASS will provide you all necessary options.

Thanks Ed. I was aware of this but couldn't figure out why when I created the new class based on Custom in the Class Browser that no PEM's showed up except for name. I then realized that I had left Show Non-Default Properties Only checked yesterday (whacking head against monitor). I need a holiday ;-)
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform