Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NewBie
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Re: NewBie
Divers
Thread ID:
00915404
Message ID:
00915417
Vues:
15
Steve,

You don't need SET CLASSLIB if you're using NEWOBJECT() function. SET CLASSLIB tells VFP in which class libraries to look for a class when you use CREATEOBJECT() function.

>So, in a program, is this how I would call the SayHi method from the class Bob of
>the Class Library People?
>
>SET CLASSLIB TO people
>loBob = NEWOBJECT("bob", "people")
>lobob.sayhi
>After set classLib to people, shouldn't I be able to just
>say something like:
>people.bob.SayHi()
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform