Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NewBie
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Re: NewBie
Miscellaneous
Thread ID:
00915404
Message ID:
00915417
Views:
13
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform