Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating generic objects
Message
De
11/05/2000 13:43:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00368538
Message ID:
00368675
Vues:
29
>Can someone give me some guidance with creating objects in VFP? I would like to create an object that will retrieve a customer record.
>TIA!

You can either use the class deisgner to create an object based on "custom", or define your class in a prg with DEFINE CLASS. To instanciate the object use

SET CLASSLIB TO "MyClasslib" ADDITIVE
* or
SET PROCEDURE TO "MyClassDef" ADDITIVE
* and then
oObj = CREATEOBJECT("MyObject")
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform